diff options
author | Markus Goetz <markus@woboq.com> | 2018-08-22 17:38:57 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2018-08-22 17:39:24 +0300 |
commit | 662d2185958cec3499fa05c291e9cba9c2a6a4dc (patch) | |
tree | a34e7710871330ef2091bec3fa4f5b13b6f762ae /src/CMakeLists.txt | |
parent | b4f63ca2192cfdc77971f39b315f926bab68a8ae (diff) |
CMakeLists.txt: Log the Qt version in compile
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9cffccd6a..6db99a49e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,9 @@ 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() +get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION) +message(STATUS "Using Qt ${Qt5Core_VERSION} (${QT_QMAKE_EXECUTABLE})") + if(NOT TOKEN_AUTH_ONLY) find_package(Qt5Keychain REQUIRED) |