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
loco-3d
sot-talos-balance
Commits
f0fe3d44
Commit
f0fe3d44
authored
Mar 12, 2021
by
Guilhem Saurel
Browse files
[CMake] workaround boost bind warnings
parent
ce760cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f0fe3d44
...
...
@@ -50,6 +50,12 @@ IF(BUILD_PYTHON_INTERFACE)
STRING
(
REGEX REPLACE
"-"
"_"
PROJECT_NAME_UNDERSCORE
${
PROJECT_NAME
}
)
SET
(
PY_NAME
${
PROJECT_NAME_UNDERSCORE
}
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
)
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
()
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
)
...
...
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