diff --git a/CMakeLists.txt b/CMakeLists.txt index c0a350ad3..f557fdc47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,26 @@ FetchContent_Declare(nlohmannjson FetchContent_MakeAvailable(nlohmannjson) FetchContent_GetProperties(nlohmannjson SOURCE_DIR NLOHMAN_JSON_SOURCE_DIR) +set(BOOST_VERSION "1.90.0") +set(BOOST_TARBALL "boost_${BOOST_VERSION}") +string(REPLACE "." "_" BOOST_TARBALL "${BOOST_TARBALL}") + +FetchContent_Declare( + boost_headers + URL https://archives.boost.io/release/${BOOST_VERSION}/source/${BOOST_TARBALL}.tar.gz + # URL_HASH SHA256=TODO +) + +# Download & unpack to boost_headers_SOURCE_DIR (no add_subdirectory!) +FetchContent_GetProperties(boost_headers) +if(NOT boost_headers_POPULATED) + FetchContent_Populate(boost_headers) +endif() + +# Path where Boost headers reside (root has 'boost/' folder) +include_directories(${boost_headers_SOURCE_DIR}) + + # Import modules list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake") find_package(IDL REQUIRED) diff --git a/msipackage/package.wix.in b/msipackage/package.wix.in index 0ef367e0d..370d482a7 100644 --- a/msipackage/package.wix.in +++ b/msipackage/package.wix.in @@ -262,6 +262,12 @@ + + + + + + diff --git a/nuget.config b/nuget.config index cf8d07af2..c0a0caabd 100644 --- a/nuget.config +++ b/nuget.config @@ -18,7 +18,7 @@ - +