فهرست منبع

[cmake] set some policies

Andrey Filipenkov 9 ماه پیش
والد
کامیت
4e4684cedf
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      CMakeLists.txt

+ 7 - 0
CMakeLists.txt

@@ -25,6 +25,13 @@ if(APPLE)
 	endif()
 endif()
 
+if(POLICY CMP0142)
+  cmake_policy(SET CMP0142 NEW)
+endif()
+if(POLICY CMP0177)
+  cmake_policy(SET CMP0177 NEW)
+endif()
+
 ############################################
 #        User-provided options             #
 ############################################