]> git.pld-linux.org Git - packages/qt5-qtwebkit.git/blob - qtwebkit-5.212.0_cmake_cmp0071.patch
- make release relup-friendly
[packages/qt5-qtwebkit.git] / qtwebkit-5.212.0_cmake_cmp0071.patch
1 Index: qtwebkit-5.212.0-alpha2/CMakeLists.txt
2 ===================================================================
3 --- qtwebkit-5.212.0-alpha2.orig/CMakeLists.txt
4 +++ qtwebkit-5.212.0-alpha2/CMakeLists.txt
5 @@ -6,6 +6,11 @@ if (POLICY CMP0058)
6      cmake_policy(SET CMP0058 NEW)
7  endif ()
8  
9 +# Explicitly process generated files with AUTOMOC.
10 +if (POLICY CMP0071)
11 +    cmake_policy(SET CMP0071 NEW)
12 +endif ()
13 +
14  set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
15  
16  if (NOT DEFINED ENABLE_WEBKIT)
17 Index: qtwebkit-5.212.0-alpha2/Source/WebKit/CMakeLists.txt
18 ===================================================================
19 --- qtwebkit-5.212.0-alpha2.orig/Source/WebKit/CMakeLists.txt
20 +++ qtwebkit-5.212.0-alpha2/Source/WebKit/CMakeLists.txt
21 @@ -1,6 +1,11 @@
22  cmake_minimum_required(VERSION 2.8.12)
23  include(WebKitCommon)
24  
25 +# Explicitly process generated files with AUTOMOC.
26 +if (POLICY CMP0071)
27 +    cmake_policy(SET CMP0071 NEW)
28 +endif ()
29 +
30  set(WebKit_SOURCES
31      Storage/StorageAreaImpl.cpp
32      Storage/StorageAreaSync.cpp
This page took 0.036831 seconds and 3 git commands to generate.