Skip to content

CMake has changed how boost should be found #247

@joesiltberg

Description

@joesiltberg

When building on Debian Trixie we get the following:

CMake Warning (dev) at build/vcpkg_installed/x64-linux/share/boost/vcpkg-cmake-wrapper.cmake: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.

Call Stack (most recent call first):
  /tmp/build/vcpkg/scripts/buildsystems/vcpkg.cmake:862 (include)
  CMakeLists.txt:38 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /tmp/build/EgilSCIM/build/vcpkg_installed/x64-linux/share/boost/BoostConfig.cmake (found version "1.85.0") found components: program_options uuid interprocess

See also:

https://cmake.org/cmake/help/latest/policy/CMP0167.html

If we change this we need to consider other build targets than Trixie, are we still using older CMake-versions elsewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions