diff options
Diffstat (limited to 'server')
| -rw-r--r-- | server/common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | server/lexer/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | server/main/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
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) |
