-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
$ cmake -S . -B build
…
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:42 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /usr/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found version "1.88.0") found components: iostreams
CMake Warning (dev) at CMakeLists.txt:47 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Using zlib library for iostreams dependency.
CMake Warning (dev) at test/CMakeLists.txt:3 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /usr/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found version "1.88.0") found components: filesystem iostreams unit_test_framework
…
Line 42 in 9576a64
find_package(Boost COMPONENTS iostreams REQUIRED) |
Line 47 in 9576a64
find_package(Boost COMPONENTS zlib QUIET) |
Line 3 in 9576a64
find_package(Boost COMPONENTS filesystem iostreams unit_test_framework REQUIRED) |
https://cmake.org/cmake/help/v3.30/module/FindBoost.html
This can be fixed by setting CMP0167 or appending CONFIG to find_package.
Metadata
Metadata
Assignees
Labels
No labels