We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed232c commit 6709466Copy full SHA for 6709466
CMakeLists.txt
@@ -37,6 +37,12 @@ ADD_PROJECT_DEPENDENCY(Boost REQUIRED COMPONENTS serialization system thread)
37
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3)
38
SEARCH_FOR_PTHREAD()
39
40
+IF(Boost_VERSION GREATER 107299)
41
+ # Silence a warning about a deprecated use of boost bind by boost >= 1.73
42
+ # without dropping support for boost < 1.73
43
+ ADD_DEFINITIONS(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
44
+ENDIF()
45
+
46
# Add configuration headers for plug-ins.
47
GENERATE_CONFIGURATION_HEADER(
48
${HEADER_DIR} config-tracer.hh DG_TRACER tracer_EXPORTS)
0 commit comments