CMake: fix compiler warnings about macro redefinition

This commit is contained in:
wmayer
2022-09-27 08:17:31 +02:00
parent b5e29c20dc
commit c1e7057dbb

View File

@@ -101,6 +101,6 @@ macro(CompilerChecksAndSetups)
message(STATUS "Force BOOST_PP_VARIADICS=1 for clang")
endif()
add_definitions(-DBOOST_NO_CXX98_FUNCTION_BASE)
set (COMPILE_DEFINITIONS ${COMPILE_DEFINITIONS} BOOST_NO_CXX98_FUNCTION_BASE)
endmacro(CompilerChecksAndSetups)