Prechádzať zdrojové kódy

Don't complain about CMP0028

Joel Gallant 9 rokov pred
rodič
commit
1f14e05537
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      test/CMakeLists.txt

+ 5 - 0
test/CMakeLists.txt

@@ -1,3 +1,8 @@
+if (${CMAKE_VERSION} VERSION_GREATER 3.0.2 OR
+    ${CMAKE_VERSION} VERSION_EQUAL 3.0.2)
+  cmake_policy(SET CMP0028 OLD)
+endif()
+
 # Determine if we should print to the output
 # Determine if we should print to the output
 if (CIVETWEB_ENABLE_THIRD_PARTY_OUTPUT)
 if (CIVETWEB_ENABLE_THIRD_PARTY_OUTPUT)
   set(THIRD_PARTY_LOGGING 0)
   set(THIRD_PARTY_LOGGING 0)