Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
dynamic-graph
Commits
67094667
Commit
67094667
authored
Feb 09, 2021
by
Guilhem Saurel
Browse files
[CMake] silence warning on boost bind
parent
9ed232cb
Pipeline
#13108
passed with stage
in 2 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
67094667
...
...
@@ -37,6 +37,12 @@ ADD_PROJECT_DEPENDENCY(Boost REQUIRED COMPONENTS serialization system thread)
ADD_PROJECT_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3
)
SEARCH_FOR_PTHREAD
()
IF
(
Boost_VERSION GREATER 107299
)
# Silence a warning about a deprecated use of boost bind by boost >= 1.73
# without dropping support for boost < 1.73
ADD_DEFINITIONS
(
-DBOOST_BIND_GLOBAL_PLACEHOLDERS
)
ENDIF
()
# Add configuration headers for plug-ins.
GENERATE_CONFIGURATION_HEADER
(
${
HEADER_DIR
}
config-tracer.hh DG_TRACER tracer_EXPORTS
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment