From 0c348a2eef191bc192be00afbcf1981bfd798405 Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Wed, 11 Sep 2024 12:23:52 -0700 Subject: [PATCH 1/2] update boost minimum requirement --- CMakeLists.txt | 2 +- docs/pages/userdocs/install.dox | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e46e90f3..bd86160f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ target_compile_features(aqnwb_aqnwb PUBLIC cxx_std_17) find_package(HDF5 REQUIRED COMPONENTS CXX) include_directories(${HDF5_INCLUDE_DIRS}) -find_package(Boost REQUIRED) +find_package(Boost 1.80 REQUIRED) include_directories(${Boost_INCLUDE_DIRS}) target_link_libraries(aqnwb_aqnwb ${HDF5_CXX_LIBRARIES} ${Boost_LIBRARIES}) diff --git a/docs/pages/userdocs/install.dox b/docs/pages/userdocs/install.dox index 5f647da2..7a28353e 100644 --- a/docs/pages/userdocs/install.dox +++ b/docs/pages/userdocs/install.dox @@ -8,7 +8,7 @@ * - A C++17-compliant compiler * - [CMake >= 3.15](https://cmake.org) * - [HDF5 >= 1.10](https://github.com/HDFGroup/hdf5) - * - [Boost](https://www.boost.org/) + * - [Boost >= 1.80](https://www.boost.org/) * * \section userbuild_build_sec Build * From aae23e6bb6bfa4c911a175a51207b15cb832d3fd Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:12:04 -0700 Subject: [PATCH 2/2] update cmake with boost def --- CMakeLists.txt | 3 ++- docs/pages/userdocs/install.dox | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd86160f..5906c9e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,12 +76,13 @@ target_include_directories( ) target_compile_features(aqnwb_aqnwb PUBLIC cxx_std_17) +target_compile_definitions(aqnwb_aqnwb PUBLIC BOOST_NO_CXX98_FUNCTION_BASE) # ---- Additional libraries needed ---- find_package(HDF5 REQUIRED COMPONENTS CXX) include_directories(${HDF5_INCLUDE_DIRS}) -find_package(Boost 1.80 REQUIRED) +find_package(Boost REQUIRED) include_directories(${Boost_INCLUDE_DIRS}) target_link_libraries(aqnwb_aqnwb ${HDF5_CXX_LIBRARIES} ${Boost_LIBRARIES}) diff --git a/docs/pages/userdocs/install.dox b/docs/pages/userdocs/install.dox index 7a28353e..5f647da2 100644 --- a/docs/pages/userdocs/install.dox +++ b/docs/pages/userdocs/install.dox @@ -8,7 +8,7 @@ * - A C++17-compliant compiler * - [CMake >= 3.15](https://cmake.org) * - [HDF5 >= 1.10](https://github.com/HDFGroup/hdf5) - * - [Boost >= 1.80](https://www.boost.org/) + * - [Boost](https://www.boost.org/) * * \section userbuild_build_sec Build *