hhergeth / CudaTracerLib

A library for ray tracing based rendering algorithms using CUDA
GNU General Public License v3.0
50 stars 9 forks source link

Change for CMakeLists.txt for Compiling for Linux like OS #10

Closed iscaswcm closed 7 years ago

iscaswcm commented 7 years ago

(1)remove 'cc1: warning: command line option ‘-std=c++11’ by adding set(CUDA_PROPAGATE_HOST_FLAGS OFF), this warning comes from nvcc use CMAKE_C_FLAGS as CMAKE_CXX_FLAGS, see URL:https://cmake.org/Bug/view.php?id=15240;

(2)set qMatrix QMATRIX_INCLUDE_DIR.