From 5cc9ea4c533707f7ad12c5725633a9c8a9f4c21a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 5 Jun 2026 17:01:44 +0200 Subject: cmake: use BoostConfig.cmake --- CMakeLists.txt | 2 +- test/unit_tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a38987a..2de5e91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ endif() add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX) -find_package(Boost REQUIRED) +find_package(Boost CONFIG REQUIRED) add_subdirectory(3rdparty/winapi/utf8 EXCLUDE_FROM_ALL) file(GLOB_RECURSE winapi_common_include CONFIGURE_DEPENDS "include/*.hpp") diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index d993b3b..319b563 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost REQUIRED COMPONENTS unit_test_framework) +find_package(Boost CONFIG REQUIRED COMPONENTS unit_test_framework) file(GLOB shared_src CONFIGURE_DEPENDS "shared/*.hpp") -- cgit v1.3