aboutsummaryrefslogtreecommitdiff
path: root/math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake')
-rw-r--r--math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake b/math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake
new file mode 100644
index 000000000000..619f110204c5
--- /dev/null
+++ b/math/cgal/files/patch-cmake_modules_CGAL__pointmatcher__support.cmake
@@ -0,0 +1,21 @@
+--- cmake/modules/CGAL_pointmatcher_support.cmake.orig 2024-08-10 19:00:05 UTC
++++ cmake/modules/CGAL_pointmatcher_support.cmake
+@@ -1,9 +1,8 @@ if(libpointmatcher_FOUND AND NOT TARGET CGAL::pointmat
+ if(libpointmatcher_FOUND AND NOT TARGET CGAL::pointmatcher_support)
+- find_package(Boost COMPONENTS thread filesystem system program_options date_time chrono)
++ find_package(Boost COMPONENTS thread filesystem program_options date_time chrono)
+ if(Boost_chrono_FOUND
+ AND Boost_thread_FOUND
+ AND Boost_filesystem_FOUND
+- AND Boost_system_FOUND
+ AND Boost_program_options_FOUND
+ AND Boost_date_time_FOUND)
+ add_library(CGAL::pointmatcher_support INTERFACE IMPORTED)
+@@ -11,6 +10,6 @@ if(libpointmatcher_FOUND AND NOT TARGET CGAL::pointmat
+ target_include_directories(CGAL::pointmatcher_support INTERFACE "${libpointmatcher_INCLUDE_DIR}")
+ target_link_libraries(CGAL::pointmatcher_support INTERFACE ${libpointmatcher_LIBRARIES} libnabo::nabo)
+ else()
+- message(STATUS "NOTICE: the libpointmatcher library requires the following boost components: thread filesystem system program_options date_time chrono.")
++ message(STATUS "NOTICE: the libpointmatcher library requires the following boost components: thread filesystem program_options date_time chrono.")
+ endif()
+ endif()