From 82a8815078841d1c31e9976290844434cd3ffd32 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Thu, 8 Dec 2016 23:14:14 +0100 Subject: [PATCH] remove unneeded patch of qhttpengine This patch was needed when MXE used system cmake. The patch enabled cmake 2.8.9 to work. Currently we use cmake 3.5.2 shipped with MXE. --- ...engine-1-decrease-required-cmake-ver.patch | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/qhttpengine-1-decrease-required-cmake-ver.patch diff --git a/src/qhttpengine-1-decrease-required-cmake-ver.patch b/src/qhttpengine-1-decrease-required-cmake-ver.patch deleted file mode 100644 index 5065cf73..00000000 --- a/src/qhttpengine-1-decrease-required-cmake-ver.patch +++ /dev/null @@ -1,50 +0,0 @@ -This file is part of MXE. See LICENSE.md for licensing information. - -From ecc6fd682b2bef9aca06ce3f8ac3e6178faf4640 Mon Sep 17 00:00:00 2001 -From: Boris Nagaev -Date: Sun, 6 Sep 2015 03:45:19 +0200 -Subject: [PATCH] decrease required cmake ver. - -2.8.11 -> 2.8.9 - -Debian Wheezy has CMake version 2.8.9 - -To make it possible, CMake command target_include_directories -was replaced with command include_directories. ---- - CMakeLists.txt | 2 +- - src/CMakeLists.txt | 8 +++----- - 2 files changed, 4 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index ec32cd8..0e7ba11 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8.11) -+cmake_minimum_required(VERSION 2.8.9) - project(QHttpEngine) - - if(NOT (CMAKE_MAJOR_VERSION VERSION_LESS 3)) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 83f9a4c..0313dc3 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -28,11 +28,9 @@ endif() - - qt5_use_modules(QHttpEngine Network) - --target_include_directories(QHttpEngine PUBLIC -- "$" -- "$" -- "$" --) -+include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -+include_directories(${CMAKE_CURRENT_BINARY_DIR}) -+include_directories(${INCLUDE_INSTALL_DIR}) - - set_target_properties(QHttpEngine PROPERTIES - DEFINE_SYMBOL QT_NO_SIGNALS_SLOTS_KEYWORDS --- -1.7.10.4 -