From 788f135a626abb0e2e7672cac90c00518e9bcd97 Mon Sep 17 00:00:00 2001 From: positive-response Date: Tue, 9 Jan 2024 15:21:25 +0100 Subject: [PATCH] resolved warning regarding BOOST_BIND_GLOBAL_PLACEHOLDERS --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 39e25089..96210258 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -310,6 +310,7 @@ ROOT_GENERATE_DICTIONARY(${DICTIONARY_NAME} ${HEADERS_WITH_DICTIONARY_REQUIRED} ## Building Framework library add_library(JPetFramework SHARED ${SOURCES} ${DICTIONARY_NAME}.cxx) add_library(JPetFramework::JPetFramework ALIAS JPetFramework) +add_definitions("-DBOOST_BIND_GLOBAL_PLACEHOLDERS") target_compile_options(JPetFramework PRIVATE -Wunused-parameter -Wall) if(DEFINED BOOST_LOG_DYN_LINK)