Commit 64ac4d4a authored by Guilhem Saurel's avatar Guilhem Saurel Committed by ostasse@laas.fr
Browse files

[CMake] revert cmake-exports for eigen3 & boost

parent beff7244
...@@ -24,10 +24,12 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -24,10 +24,12 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
# jrl-cmakemodules handling of usual modules # jrl-cmakemodules handling of usual modules
INCLUDE(cmake/pthread.cmake) INCLUDE(cmake/pthread.cmake)
add_project_dependency(Eigen3 REQUIRED NO_MODULE) INCLUDE(cmake/boost.cmake)
add_project_dependency(Boost REQUIRED
OPTIONAL_COMPONENTS ADD_REQUIRED_DEPENDENCY(eigen3)
serialization system unit_test_framework thread) SET(BOOST_COMPONENTS serialization system unit_test_framework thread)
SEARCH_FOR_BOOST()
# Allows math in mathjax. # Allows math in mathjax.
SET(DOXYGEN_USE_MATHJAX YES) SET(DOXYGEN_USE_MATHJAX YES)
...@@ -168,8 +170,8 @@ target_include_directories(${PROJECT_NAME} ...@@ -168,8 +170,8 @@ target_include_directories(${PROJECT_NAME}
PUBLIC PUBLIC
$<BUILD_INTERFACE:${CMAKE_BUILD_DIR}/include> $<BUILD_INTERFACE:${CMAKE_BUILD_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include> $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
$<BUILD_INTERFACE:${EIGEN3_INCLUDE_DIR}> $<BUILD_INTERFACE:${EIGEN3_INCLUDE_DIRS}>
INTERFACE ${EIGEN3_INCLUDE_DIR} INTERFACE ${EIGEN3_INCLUDE_DIRS}
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment