Rename EIGEN_CUDA_FLAGS to EIGEN_CUDA_CXX_FLAGS

Also add a missing space for clang.

(cherry picked from commit 846d34384a)
This commit is contained in:
Antonio Sanchez
2021-09-24 20:15:55 -07:00
parent dfcd6de20a
commit a605d6b996
3 changed files with 5 additions and 5 deletions

View File

@@ -437,7 +437,7 @@ if(EIGEN_TEST_NO_EXCEPTIONS)
message(STATUS "Disabling exceptions in tests/examples")
endif()
set(EIGEN_CUDA_FLAGS "" CACHE STRING "Additional flags to pass to the cuda compiler.")
set(EIGEN_CUDA_CXX_FLAGS "" CACHE STRING "Additional flags to pass to the cuda compiler.")
set(EIGEN_CUDA_COMPUTE_ARCH 30 CACHE STRING "The CUDA compute architecture(s) to target when compiling CUDA code")
include_directories(${CMAKE_CURRENT_SOURCE_DIR})