Skip to content
Snippets Groups Projects
Commit 26758a0a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] ADD_PROJECT_DEPENDENCY is ready for Eigen3

thanks to PKG_CONFIG_REQUIRES
parent 982ab8f4
No related branches found
No related tags found
No related merge requests found
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
# Setup project properties # Setup project properties
SET(PROJECT_ORG stack-of-tasks) SET(PROJECT_ORG stack-of-tasks)
...@@ -26,7 +26,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -26,7 +26,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
INCLUDE(cmake/pthread.cmake) INCLUDE(cmake/pthread.cmake)
INCLUDE(cmake/boost.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) SET(BOOST_COMPONENTS serialization system unit_test_framework thread)
SEARCH_FOR_BOOST() SEARCH_FOR_BOOST()
......
Subproject commit 61344038b1352d5a8de1e20db710c83be805d2eb Subproject commit 4514454f5f9462047b5c29f61b6c3e0db731c416
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment