Skip to content

Commit 764bbda

Browse files
committed
[CMake] sync submodule and its use
1 parent 5452c70 commit 764bbda

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ INCLUDE(cmake/boost.cmake)
2626
# Project definition
2727
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
2828
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
29+
CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
2930

3031
INCLUDE(cmake/pthread.cmake) # needs to be included after the CXX definition
3132

3233
# Project dependencies
3334
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3)
34-
SET(BOOST_COMPONENTS serialization system unit_test_framework thread)
35-
SEARCH_FOR_BOOST()
35+
ADD_PROJECT_DEPENDENCY(Boost REQUIRED COMPONENTS serialization system thread)
36+
FIND_PACKAGE(Boost REQUIRED COMPONENTS unit_test_framework)
3637
SEARCH_FOR_PTHREAD()
3738

3839
# Add configuration headers for plug-ins.

0 commit comments

Comments
 (0)