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
Stack Of Tasks
dynamic-graph
Commits
26758a0a
Commit
26758a0a
authored
Feb 25, 2020
by
Guilhem Saurel
Browse files
[CMake] ADD_PROJECT_DEPENDENCY is ready for Eigen3
thanks to PKG_CONFIG_REQUIRES
parent
982ab8f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
26758a0a
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.6
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
3.1
)
# Setup project properties
SET
(
PROJECT_ORG stack-of-tasks
)
...
...
@@ -26,7 +26,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
INCLUDE
(
cmake/pthread.cmake
)
INCLUDE
(
cmake/boost.cmake
)
ADD_
REQUIRED
_DEPENDENCY
(
eigen3
)
ADD_
PROJECT
_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES
eigen3
)
SET
(
BOOST_COMPONENTS serialization system unit_test_framework thread
)
SEARCH_FOR_BOOST
()
...
...
cmake
@
4514454f
Compare
61344038
...
4514454f
Subproject commit
61344038b1352d5a8de1e20db710c83be805d2eb
Subproject commit
4514454f5f9462047b5c29f61b6c3e0db731c416
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