aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff')
-rw-r--r--vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff b/vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff
new file mode 100644
index 0000000..9c36bec
--- /dev/null
+++ b/vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d246a88d..634157c0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -190,11 +190,13 @@ if(WIN32)
+ endif(WIN32)
+
+ find_package(Threads)
+-find_package(Boost 1.42 COMPONENTS program_options thread system iostreams filesystem REQUIRED)
++find_package(Boost 1.42 COMPONENTS iostreams program_options serialization thread REQUIRED)
++
++# The following header-only and their dependencies are additionally required,
++# but cannot be explicitly requested via find_package, so make sure they exists:
++# - foreach interprocess lambda property_tree uuid
+
+-if(Boost_FOUND AND Boost_PROGRAM_OPTIONS_FOUND)
+- include_directories(${Boost_INCLUDE_DIRS})
+-endif()
++include_directories(${Boost_INCLUDE_DIRS})
+
+ # make these available for the user to set.
+ mark_as_advanced(CLEAR Boost_INCLUDE_DIR)