Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
8c83ac33bd
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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)