[CMAKE] Disallow use of LOCATION. CORE-14509

This commit is contained in:
Thomas Faber 2018-03-11 19:56:49 +01:00
parent f9e1e23dab
commit 99ba355e7f
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -8,7 +8,7 @@ endif()
if(POLICY CMP0026) if(POLICY CMP0026)
# Allow use of the LOCATION property # Allow use of the LOCATION property
cmake_policy(SET CMP0026 OLD) cmake_policy(SET CMP0026 NEW)
endif() endif()
if(POLICY CMP0051) if(POLICY CMP0051)