-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fixes policy CMP0135 warning for CMake >= 3.24 #35
Conversation
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a strange file to set the policy in. That is, the problem is in the main CMakeLists.txt, where we actually call ExternalProject_Add
, but this is the cmake file that we export to downstream consumers. So I don't quite understand why it is in here; can you explain more?
Signed-off-by: Cristobal Arroyo <[email protected]>
Yes. I was trying to apply the solution we used in New builds: Now it's working fine on all three builds. |
Signed-off-by: Cristobal Arroyo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
https://github.com/Mergifyio backport humble |
❌ Command disallowed due to command restrictions in the Mergify configuration.
|
@cottsay @clalancette Could you please backport this PR to the Humble? |
https://github.com/Mergifyio backport humble |
* Sets CMP0135 policy Signed-off-by: Crola1702 <[email protected]> (cherry picked from commit 5565d5b)
✅ Backports have been created
|
@MichaelOrlov check #41 |
@Crola1702 Thanks, looking forward to be merged. |
* Sets CMP0135 policy Signed-off-by: Crola1702 <[email protected]> (cherry picked from commit 5565d5b) Co-authored-by: Cristóbal Arroyo <[email protected]>
Warning fix
Signed-off-by: Cristóbal Arroyo [email protected]
This warning started appearing on new machines (windows-container-bd99e2f0 and others). It’s caused by a new CMake version (3.24) that expects this policy to be set.
Solution with this PR changes: