We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2576e commit 2f0aee0Copy full SHA for 2f0aee0
source/CMakeLists.txt
@@ -105,7 +105,11 @@ endif ()
105
106
# define USE_CUDA_TOOLKIT
107
if (DEFINED USE_CUDA_TOOLKIT)
108
- find_package(CUDA REQUIRED)
+ if (USE_CUDA_TOOLKIT)
109
+ find_package(CUDA REQUIRED)
110
+ else()
111
+ message(STATUS "Will not build nv GPU support")
112
+ endif()
113
else()
114
find_package(CUDA QUIET)
115
if (CUDA_FOUND)
0 commit comments