-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Running Cmake warns you about Policy CMP0072 not being set #4499
Comments
@PJ-Finlay which branch?
PRs are always welcome but if you're on |
Confirmed. |
Sorry for the late response. I didn't realize that this was already partially changed in master. Using master I'm still getting these two errors though:
For the first one it seems like we're setting the CMP0050 to use the old version of this policy which is deprecated. Lines 7 to 16 in 8d00e90
For CMP0072 I think we just need to explicit set which type of OpenGL library is being used to suppress the warning. |
I think we don't need lmms/plugins/zynaddsubfx/CMakeLists.txt Lines 32 to 38 in 8d00e90
I don't know how should we handle this. Any ideas? |
Right.
Should we move the |
Any chance #6780 might have fixed this? |
No, CMP0072 is introduced in CMake 3.11, and the PR doesn't touch anything related to CMP0072. |
oh so if i understand right, to set the policy, we must update cmake. |
till then, we needn't bother. |
This may have been fixed in #6561, where the |
When you run Cmake version 3.11.2 you get this error:
This is the policy that isn't being set, and is similar to #3985. I can make a pull request to fix this.
The text was updated successfully, but these errors were encountered: