[GTK][CMake] Warning about CMP0058
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Sep 2015 19:18:26 +0000 (19:18 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Sep 2015 19:18:26 +0000 (19:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149627

Reviewed by Martin Robinson.

Opt-in to the new behavior for CMP0058.

* CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190321 268f45cc-cd09-0410-ab3c-d52691b4dbfc

CMakeLists.txt
ChangeLog

index 91b98d1..cfa4cc2 100644 (file)
@@ -1,6 +1,11 @@
 cmake_minimum_required(VERSION 2.8.12)
 project(WebKit)
 
+# This should be removed once we require CMake 3.3.
+if (POLICY CMP0058)
+    cmake_policy(SET CMP0058 NEW)
+endif ()
+
 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
 
 if (NOT DEFINED ENABLE_WEBKIT)
index b757d20..886ec35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2015-09-29  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [GTK][CMake] Warning about CMP0058
+        https://bugs.webkit.org/show_bug.cgi?id=149627
+
+        Reviewed by Martin Robinson.
+
+        Opt-in to the new behavior for CMP0058.
+
+        * CMakeLists.txt:
+
 2015-09-28  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Unreviewed build fix for internal systems.