-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
$ cmake -S . -B build
…
-- Found compiled maeparser library at
CMake Warning (dev) at CMakeLists.txt:78 (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")
CMake Warning (dev) at example_dir/CMakeLists.txt:13 (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
CMake Warning (dev) at test/CMakeLists.txt:14 (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 unit_test_framework
…
Line 78 in 55d9985
find_package(Boost REQUIRED) |
coordgenlibs/example_dir/CMakeLists.txt
Line 13 in 55d9985
find_package(Boost COMPONENTS filesystem REQUIRED) |
coordgenlibs/test/CMakeLists.txt
Line 14 in 55d9985
find_package(Boost COMPONENTS filesystem 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