aboutsummaryrefslogtreecommitdiff
path: root/devel/ikos/files/patch-cmake_FindBoost.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ikos/files/patch-cmake_FindBoost.cmake')
-rw-r--r--devel/ikos/files/patch-cmake_FindBoost.cmake11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/ikos/files/patch-cmake_FindBoost.cmake b/devel/ikos/files/patch-cmake_FindBoost.cmake
index a7a74af7cca3..75f2d9c03187 100644
--- a/devel/ikos/files/patch-cmake_FindBoost.cmake
+++ b/devel/ikos/files/patch-cmake_FindBoost.cmake
@@ -1,4 +1,4 @@
---- cmake/FindBoost.cmake.orig 2019-02-23 02:50:42 UTC
+--- cmake/FindBoost.cmake.orig 2024-12-31 23:34:34 UTC
+++ cmake/FindBoost.cmake
@@ -170,6 +170,9 @@
#
@@ -10,3 +10,12 @@
#-------------------------------------------------------------------------------
# Before we go searching, check whether boost-cmake is available, unless the
# user specifically asked NOT to search for boost-cmake.
+@@ -1000,7 +1003,7 @@ if(Boost_VERSION AND Boost_FIND_COMPONENTS)
+ # On versions < 1.35, remove the System library from the considered list
+ # since it wasn't added until 1.35.
+ if(Boost_VERSION AND Boost_FIND_COMPONENTS)
+- if(Boost_VERSION LESS 103500)
++ if(Boost_VERSION LESS 103500 OR Boost_VERSION GREATER 107100)
+ list(REMOVE_ITEM Boost_FIND_COMPONENTS system)
+ endif()
+ endif()