فهرست منبع

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)