diff options
Diffstat (limited to 'vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff')
| -rw-r--r-- | vcpkg/ports/liblas/remove_unnecessary_boost_dependency.diff | 22 |
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) |