diff options
Diffstat (limited to '')
| -rw-r--r-- | client/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | server/common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | server/lexer/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | server/main/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | test/unit_tests/CMakeLists.txt | 4 |
5 files changed, 5 insertions, 7 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index da9c804..6dc9490 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost 1.66.0 REQUIRED COMPONENTS filesystem program_options) +find_package(Boost 1.70.0 CONFIG REQUIRED COMPONENTS filesystem program_options) set(CMAKE_THREAD_PREFER_PTHREAD ON) set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) diff --git a/server/common/CMakeLists.txt b/server/common/CMakeLists.txt index 77e35f0..99a82c6 100644 --- a/server/common/CMakeLists.txt +++ b/server/common/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost REQUIRED) +find_package(Boost CONFIG REQUIRED) add_library(common INTERFACE) target_include_directories(common INTERFACE ..) diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt index 9ac332c..7c2b717 100644 --- a/server/lexer/CMakeLists.txt +++ b/server/lexer/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost REQUIRED COMPONENTS regex) +find_package(Boost CONFIG REQUIRED COMPONENTS regex) file(GLOB_RECURSE lexer_src CONFIGURE_DEPENDS "*.cpp" "*.hpp") add_library(lexer ${lexer_src}) diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt index 3a23acf..4eee9e5 100644 --- a/server/main/CMakeLists.txt +++ b/server/main/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost 1.66.0 REQUIRED COMPONENTS filesystem program_options) +find_package(Boost 1.70.0 CONFIG REQUIRED COMPONENTS filesystem program_options) set(CMAKE_THREAD_PREFER_PTHREAD ON) set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index a6bf105..cf348f7 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -1,6 +1,4 @@ -find_package(Boost 1.67.0 REQUIRED COMPONENTS unit_test_framework) -# It would be Boost 1.66 in a perfect world, but the tests fail to compile with -# that: https://lists.boost.org/boost-bugs/2018/01/49711.php. +find_package(Boost 1.70.0 CONFIG REQUIRED COMPONENTS unit_test_framework) file(GLOB unit_tests_src CONFIGURE_DEPENDS "*.cpp") add_executable(unit_tests ${unit_tests_src}) |
