mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
NVCC: no need to enforce host compiler
This commit is contained in:
parent
deab937d45
commit
40c42d9788
@ -302,7 +302,6 @@ find_package(CUDA)
|
|||||||
if(CUDA_FOUND)
|
if(CUDA_FOUND)
|
||||||
|
|
||||||
set(CUDA_PROPAGATE_HOST_FLAGS OFF)
|
set(CUDA_PROPAGATE_HOST_FLAGS OFF)
|
||||||
set(CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER})
|
|
||||||
cuda_include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
cuda_include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
set(EIGEN_ADD_TEST_FILENAME_EXTENSION "cu")
|
set(EIGEN_ADD_TEST_FILENAME_EXTENSION "cu")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user