[CMAKE] Use NEW policy for CMP0058. CORE-17109

This commit is contained in:
Thomas Faber 2020-06-06 22:57:30 +02:00
parent dadc59f135
commit 94073cc1d9
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -8,7 +8,7 @@ endif()
if(POLICY CMP0058)
# Ninja requires custom command byproducts to be explicit
cmake_policy(SET CMP0058 OLD)
cmake_policy(SET CMP0058 NEW)
endif()
if(POLICY CMP0065)