diff --git a/CMakeLists.txt b/CMakeLists.txt index 45ebd39d..86fc42cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,7 @@ 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)