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
Humanoid Path Planner
hpp-fcl
Commits
e5783b17
Verified
Commit
e5783b17
authored
Aug 25, 2020
by
Justin Carpentier
Browse files
cmake: fix search of Boost components
parent
e339011a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e5783b17
...
...
@@ -76,12 +76,14 @@ if(BUILD_PYTHON_INTERFACE)
endif
()
# Required dependencies
SET_BOOST_DEFAULT_OPTIONS
()
EXPORT_BOOST_DEFAULT_OPTIONS
()
ADD_PROJECT_DEPENDENCY
(
Boost REQUIRED
)
find_package
(
Boost REQUIRED COMPONENTS filesystem unit_test_framework chrono timer
)
if
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
set
(
BOOST_COMPONENTS system python
)
search_for_boost
()
search_for_boost_python
(
REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
Boost REQUIRED COMPONENTS system
)
endif
()
# Optional dependencies
...
...
test/CMakeLists.txt
View file @
e5783b17
# Find Boost.UnitTestFramework
FIND_PACKAGE
(
Boost REQUIRED COMPONENTS unit_test_framework filesystem chrono timer
)
config_files
(
fcl_resources/config.h
)
macro
(
add_fcl_test test_name source
)
...
...
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