Files
nixpkgs/pkgs/by-name/ve/vector-blf/003-fix-boost-cmake.patch
2026-08-14 15:14:06 +03:00

13 lines
452 B
Diff

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)