Переглянути джерело

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 роки тому
батько
коміт
8c83ac33bd
1 змінених файлів з 1 додано та 0 видалено
  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)