Skip to content

[CMake] Do not set CMP0114 explicitly to old #90384

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

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

boomanaiden154
Copy link
Contributor

CMP0114 was originally set to old to get rid of warnings. However, this behavior is now set to new by default with the minimum CMake version that LLVM requires so does not produce any warnings, and setting it explicitly to old does produce a warning in newer CMake versions. Due to these reasons, remove this check for now.

Splitting off from removing the CMP0116 check just in case something breaks.

Partially fixes #83727.

CMP0114 was originally set to old to get rid of warnings. However, this
behavior is now set to new by default with the minimum CMake version
that LLVM requires so does not produce any warnings,
and setting it explicitly to old does produce a warning in newer CMake
versions. Due to these reasons, remove this check for now.

Splitting off from removing the CMP0116 check just in case something
breaks.

Partially fixes llvm#83727.
@llvmbot llvmbot added the cmake Build system in general and CMake in particular label Apr 28, 2024
@boomanaiden154
Copy link
Contributor Author

Bump on this. I don't believe there is anything that breaks when we let CMP0114 to new?

@boomanaiden154 boomanaiden154 merged commit 49de154 into llvm:main Oct 16, 2024
1 check passed
@boomanaiden154 boomanaiden154 deleted the drop-cmp0114-old branch October 16, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmake 3.28 deprecation warnings
4 participants