cmake: test for CMP0051 instead of version check
We can use policy checks to see if a policy exists in cmake, like CMP0051, instead of relying on the version.
Showing
Please
register
or
sign in
to comment
We can use policy checks to see if a policy exists in cmake, like CMP0051, instead of relying on the version.