瀏覽代碼

CMake: Fix wrong policy number

Michael Ragazzon 1 年之前
父節點
當前提交
ee1db61ec6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -52,9 +52,9 @@ endif(POLICY CMP0072)
 if(POLICY CMP0074)
 if(POLICY CMP0074)
 	cmake_policy(SET CMP0074 NEW)
 	cmake_policy(SET CMP0074 NEW)
 endif(POLICY CMP0074)
 endif(POLICY CMP0074)
-if(POLICY CMP0074)
+if(POLICY CMP0092)
 	cmake_policy(SET CMP0092 NEW)
 	cmake_policy(SET CMP0092 NEW)
-endif(POLICY CMP0074)
+endif(POLICY CMP0092)
 
 
 project(RmlUi LANGUAGES C CXX VERSION 6.0)
 project(RmlUi LANGUAGES C CXX VERSION 6.0)