Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
larshg committed Oct 5, 2024
1 parent cb6d4c6 commit feb1364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ if(CMAKE_COMPILER_IS_MSVC)
set(PCL_USE_GLOBAL_OPTIMIZATION TRUE)
if(CUDA_FOUND)
if(${CUDA_VERSION_STRING} VERSION_GREATER_EQUAL "10.0" AND ${CUDA_VERSION_STRING} VERSION_LESS "12.0")
set(USE_GLOBAL_OPTIMIZATION FALSE)
set(PCL_USE_GLOBAL_OPTIMIZATION FALSE)
message("Global optimizations /GL has been turned off, as it doesn't work with nvcc/thrust in CUDA 10 and 11.")
endif()
endif()
Expand Down

0 comments on commit feb1364

Please sign in to comment.