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 25200af commit 98fdd06Copy full SHA for 98fdd06
CMakeLists.txt
@@ -121,7 +121,7 @@ message(STATUS "Build pdlp with GPU: ${CUPDLP_GPU}")
121
option(CUPDLP_FIND_CUDA "Build pdlp with GPU" OFF)
122
message(STATUS "Use FindCUDAConf: ${CUPDLP_FIND_CUDA}")
123
124
-if(CUPDLP_GPU CMAKE_VERSION VERSION_LESS "3.25.0")
+if(CUPDLP_GPU AND CMAKE_VERSION VERSION_LESS "3.25.0")
125
message("CUPDLP FindCUDAConf requires CMake version minumum 3.24. Please use a higher version of CMake.")
126
endif()
127
0 commit comments