Renamed the EIGEN_TEST_NVCC cmake option into EIGEN_TEST_CUDA per the discussion in bug #1173.

This commit is contained in:
Benoit Steiner
2016-04-06 09:35:23 -07:00
parent 72abfa11dd
commit 7781f865cb
3 changed files with 6 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ endif()
# These tests needs nvcc
find_package(CUDA 7.0)
if(CUDA_FOUND AND EIGEN_TEST_NVCC)
if(CUDA_FOUND AND EIGEN_TEST_CUDA)
# Make sure to compile without the -pedantic, -Wundef, -Wnon-virtual-dtor
# and -fno-check-new flags since they trigger thousands of compilation warnings
# in the CUDA runtime