blob: acb6f2a8bf920e402fa662dc6c3c4bf13778b880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82da81b..750d075 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@ if(OPTION_RUN_CPPCHECK)
endif()
if(OPTION_BUILD_TESTS)
enable_testing()
- find_package(Boost 1.55 COMPONENTS system filesystem unit_test_framework REQUIRED)
+ find_package(Boost 1.55 CONFIG REQUIRED COMPONENTS filesystem unit_test_framework)
endif()
if(OPTION_ADD_LCOV)
find_package(LCOV REQUIRED)
|