From f856d166a938f3642ce78990e737a69bc9ad9562 Mon Sep 17 00:00:00 2001 From: James Harrison <00jamesh@gmail.com> Date: Wed, 16 Oct 2024 10:42:08 +0100 Subject: [PATCH] Minimise boost dependencies --- src/pdu/CMakeLists.txt | 1 - vcpkg.json | 14 +++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pdu/CMakeLists.txt b/src/pdu/CMakeLists.txt index 39aab46..4fc7ab8 100644 --- a/src/pdu/CMakeLists.txt +++ b/src/pdu/CMakeLists.txt @@ -43,7 +43,6 @@ set_property(TARGET plib PROPERTY CXX_VISIBILITY_PRESET hidden) target_include_directories(plib PUBLIC ..) target_link_libraries(plib PUBLIC - Boost::boost Boost::program_options Boost::filesystem Boost::iostreams diff --git a/vcpkg.json b/vcpkg.json index 03d8492..ceaf30c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -5,7 +5,11 @@ "version>=": "6.1.2" }, { - "name": "boost", + "name": "boost-filesystem", + "version>=": "1.85.0" + }, + { + "name": "boost-iostreams", "version>=": "1.85.0" }, { @@ -39,8 +43,12 @@ "version": "6.1.2" }, { - "name": "boost", - "version": "1.85.0" + "name": "boost-filesystem", + "version": "1.85.0#2" + }, + { + "name": "boost-iostreams", + "version": "1.85.0#1" }, { "name": "boost-program-options",