From: Markus Goetz Date: Mon, 14 Aug 2017 12:23:25 +0000 (+0200) Subject: CMake: Print the Qt version and path #5957 #5932 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~704^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c3127e43b01b872008c2f5b58fc3b30916de3e9;p=nextcloud-desktop.git CMake: Print the Qt version and path #5957 #5932 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b6e9810d..38193d006 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,7 +198,12 @@ if (${Qt5Core_VERSION_MAJOR} EQUAL "5") else() message(STATUS "If possible compile me with Qt 5.6 or higher.") endif() + if (${Qt5Core_VERSION_MINOR} EQUAL "9" OR ${Qt5Core_VERSION_MINOR} GREATER 9) + else() + message(STATUS "For HTTP2 use Qt 5.9.2 or higher.") + endif() endif() +message("Qt ${Qt5Core_VERSION} at ${Qt5Core_INCLUDE_DIRS}") if (APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")