projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a9791
)
CMake: Print the Qt version and path #5957 #5932
author
Markus Goetz
<markus@woboq.com>
Mon, 14 Aug 2017 12:23:25 +0000
(14:23 +0200)
committer
Markus Goetz
<markus@woboq.com>
Mon, 14 Aug 2017 12:24:27 +0000
(14:24 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9b6e9810d405387a6171a7cb0b2420e29e6f7af4..38193d0068551a295557f4f15c04e2f9b319b771 100644
(file)
--- 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++")