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-core
Commits
cae456d1
Commit
cae456d1
authored
Feb 09, 2021
by
Guilhem Saurel
Browse files
[CMake] workaround boost bind warnings
parent
ee127dd2
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cae456d1
...
...
@@ -43,6 +43,12 @@ IF(BUILD_TESTING)
FIND_PACKAGE
(
Boost REQUIRED COMPONENTS unit_test_framework program_options
)
ENDIF
()
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
()
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
STRING
(
REGEX REPLACE
"-"
"_"
PYTHON_DIR
${
CUSTOM_HEADER_DIR
}
)
...
...
cmake
@
7febe8d7
Compare
000a9019
...
7febe8d7
Subproject commit
000a90190d1dca8b028f437095f2fddff0f9839b
Subproject commit
7febe8d72c61b48ebf0af7731ffa802f2e7a33fa
Write
Preview
Markdown
is supported
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