Skip to content
GitLab
Menu
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
sot-pattern-generator
Commits
40b8abda
Commit
40b8abda
authored
Mar 12, 2021
by
Guilhem Saurel
Browse files
[CMake] workaround boost bind warnings
parent
3d177c54
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
40b8abda
...
...
@@ -45,6 +45,12 @@ IF(BUILD_PYTHON_INTERFACE)
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
STRING
(
REGEX REPLACE
"-"
"_"
PYTHON_DIR
${
CUSTOM_HEADER_DIR
}
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
)
IF
(
Boost_VERSION GREATER 107299
)
# Silence a warning about a deprecated use of boost bind by boost python
# at least fo boost 1.73 to 1.75
ADD_DEFINITIONS
(
-DBOOST_BIND_GLOBAL_PLACEHOLDERS
)
ENDIF
()
ENDIF
(
BUILD_PYTHON_INTERFACE
)
# Main Library
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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