Explorar o código

Support interprocedural optimization override

This policy applies the CMAKE_INTERPROCEDURAL_OPTIMIZATION override to
the GLFW target.

Fixes #1753.
Camilla Löwy %!s(int64=5) %!d(string=hai) anos
pai
achega
9d7897f961
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      CMakeLists.txt

+ 4 - 0
CMakeLists.txt

@@ -8,6 +8,10 @@ if (POLICY CMP0054)
     cmake_policy(SET CMP0054 NEW)
     cmake_policy(SET CMP0054 NEW)
 endif()
 endif()
 
 
+if (POLICY CMP0069)
+    cmake_policy(SET CMP0069 NEW)
+endif()
+
 if (POLICY CMP0077)
 if (POLICY CMP0077)
     cmake_policy(SET CMP0077 NEW)
     cmake_policy(SET CMP0077 NEW)
 endif()
 endif()