Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-12-14 17:10:33 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-01-13 15:58:17 +0300
commit257d8142b1af06e1a3892be5110b7b69e38a0659 (patch)
tree62845dbfc9850dda732659b60e3d08d39c154ba5 /src/CMakeLists.txt
parent48c55b7d29e3910510364f1e621144565a739621 (diff)
Build system: Get rid of QtVersionAbstraction.cmake
Use modern cmake with target_link_libraries and Qt5:: that automatically add the include path and compile flags
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 894f93e4c..e20358c18 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,6 +4,11 @@ endif()
set(synclib_NAME ${APPLICATION_EXECUTABLE}sync)
+find_package(Qt5 5.6 COMPONENTS Core Network Xml Concurrent REQUIRED)
+if (Qt5Core_VERSION VERSION_LESS 5.9.0)
+message(STATUS "For HTTP/2 support, compile with Qt 5.9 or higher.")
+endif()
+
if(NOT TOKEN_AUTH_ONLY)
find_package(Qt5Keychain REQUIRED)
endif()