Bläddra i källkod

CMake: set CMP0026 to OLD

Setting this to OLD allows us to read the LOCATION property out of
targets. This is deprecated but still nicer for what we need to with
our resource copying. We should revisit this later.
Tobias Hieta 8 år sedan
förälder
incheckning
8c83ac33bd
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -37,6 +37,7 @@ endmacro()
 set_policy(CMP0020 NEW)
 set_policy(CMP0017 NEW)
 set_policy(CMP0058 NEW)
+set_policy(CMP0026 OLD)
 
 include(utils)
 include(CompilerFlags)