mirror of https://github.com/koide3/small_gicp.git
Merge fa518412d7 into 2c5e9e6092
This commit is contained in:
commit
8ca7bd29a8
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue