This commit is contained in:
Hyungtae Lim 2025-01-13 17:23:30 +09:00 committed by GitHub
commit 8ca7bd29a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ endif()
if (BUILD_WITH_PCL)
find_package(PCL REQUIRED)
if(PCL_VERSION VERSION_LESS "1.11.0")
message(FATAL_ERROR "The found PCL version ${PCL_VERSION} is too low. Required is at least 1.11.0")
endif()
add_compile_definitions(BUILD_WITH_PCL)
if (NOT TARGET PCL::PCL)
add_library(PCL::PCL INTERFACE IMPORTED)