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
923dacf4
Verified
Commit
923dacf4
authored
May 26, 2020
by
Justin Carpentier
Browse files
cmake: adjust packaging
Boost is not exported. Use full path instead.
parent
77b31335
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
923dacf4
...
...
@@ -72,8 +72,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
ADD_PROJECT_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES
"eigen3 >= 3.0.0"
)
if
(
BUILD_PYTHON_INTERFACE
)
ADD_PROJECT_DEPENDENCY
(
eigenpy 2.2 REQUIRED
)
endif
()
FIND_PACKAGE
(
eigenpy 2.2 REQUIRED
)
endif
()
# Required dependencies
set
(
BOOST_COMPONENTS thread date_time system
)
...
...
src/CMakeLists.txt
View file @
923dacf4
...
...
@@ -158,9 +158,12 @@ ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
PUBLIC
Boost::thread
Boost::date_time
Boost::system
${
Boost_THREAD_LIBRARY
}
${
Boost_DATE_TIME_LIBRARY
}
${
Boost_SYSTEM_LIBRARY
}
# Boost::thread
# Boost::date_time
# Boost::system
)
if
(
HPP_FCL_HAS_QHULL
)
...
...
@@ -173,6 +176,7 @@ endif()
target_include_directories
(
${
LIBRARY_NAME
}
SYSTEM PUBLIC
${
EIGEN3_INCLUDE_DIR
}
${
Boost_INCLUDE_DIRS
}
)
target_include_directories
(
${
LIBRARY_NAME
}
...
...
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