File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
2424
2525# jrl-cmakemodules handling of usual modules
2626INCLUDE (cmake/pthread.cmake)
27- add_project_dependency(Eigen3 REQUIRED NO_MODULE)
28- add_project_dependency(Boost REQUIRED
29- OPTIONAL_COMPONENTS
30- serialization system unit_test_framework thread)
27+ INCLUDE (cmake/boost.cmake)
28+
29+ ADD_REQUIRED_DEPENDENCY(eigen3)
30+ SET (BOOST_COMPONENTS serialization system unit_test_framework thread)
31+ SEARCH_FOR_BOOST()
32+
3133# Allows math in mathjax.
3234SET (DOXYGEN_USE_MATHJAX YES )
3335
@@ -168,8 +170,8 @@ target_include_directories(${PROJECT_NAME}
168170 PUBLIC
169171 $<BUILD_INTERFACE:${CMAKE_BUILD_DIR} /include >
170172 $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR} /include >
171- $<BUILD_INTERFACE:${EIGEN3_INCLUDE_DIR } >
172- INTERFACE ${EIGEN3_INCLUDE_DIR }
173+ $<BUILD_INTERFACE:${EIGEN3_INCLUDE_DIRS } >
174+ INTERFACE ${EIGEN3_INCLUDE_DIRS }
173175 $<INSTALL_INTERFACE:include >
174176 )
175177
You can’t perform that action at this time.
0 commit comments