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
Stack Of Tasks
dynamic-graph-tutorial
Commits
30f50b00
Commit
30f50b00
authored
Feb 22, 2021
by
Guilhem Saurel
Browse files
[CMake] workaround boost bind warnings
parent
05d4a990
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
30f50b00
...
...
@@ -43,6 +43,12 @@ IF(BUILD_PYTHON_INTERFACE)
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
IF
(
Boost_VERSION GREATER 107299 OR Boost_VERSION_MACRO 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
()
# Main Library
SET
(
${
PROJECT_NAME
}
_HEADERS
include/
${
CUSTOM_HEADER_DIR
}
/inverted-pendulum.hh
...
...
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