Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CMake 3.31 warning for policy CMP0177 #290

Open
ddassie-texa opened this issue Jan 16, 2025 · 0 comments
Open

New CMake 3.31 warning for policy CMP0177 #290

ddassie-texa opened this issue Jan 16, 2025 · 0 comments

Comments

@ddassie-texa
Copy link
Contributor

Looks like CMake 3.31 added a new policy CMP0177 regarding install paths:

CMake Warning (dev) at build/Debug/_deps/_project_options-src/src/PackageProject.cmake:194 (install):
   Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
   "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
   command to set the policy and suppress this warning.
 Call Stack (most recent call first):
   CMakeLists.txt:119 (package_project)
 This warning is for project developers.  Use -Wno-dev to suppress it.

I believe letting CMake normalize the paths should be fine in the context of PackageProject, but I could be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant