Skip to content

[BUG] Warnings during install: Policy CMP0159 is not set: file(STRINGS) with REGEX updates #583

Closed

Description

$ cmake --install /path/to/build
...
  Call Stack (most recent call first):
    build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_installed_CTestTestfile.cmake:225 (determine_install_location_of_all_targets)
    build/tests/cpp/cmake_install.cmake:65 (include)
    build/cmake_install.cmake:372 (include)
  This warning is for project developers.  Use -Wno-dev to suppress it.
  
  CMake Warning (dev) at build/_deps/rapids-cmake-src/rapids-cmake/test/detail/generate_installed_CTestTestfile.cmake:215 (file):
    Policy CMP0159 is not set: file(STRINGS) with REGEX updates
    CMAKE_MATCH_<n>.  Run "cmake --help-policy CMP0159" for policy details.
    Use the cmake_policy command to set the policy and suppress this warning.

Seems CMP0159 is new since 3.29

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

? - Needs TriageNeed team to review and classifybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions