CMakeLists.txt: Log the Qt version in compile

This commit is contained in:
Markus Goetz 2018-08-22 16:38:57 +02:00 committed by Kevin Ottens
parent 6b571b609c
commit 811ac50c05
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -5,6 +5,8 @@ endif()
set(synclib_NAME ${APPLICATION_EXECUTABLE}sync)
find_package(Qt5 5.12 COMPONENTS Core Network Xml Concurrent WebEngineWidgets WebEngine REQUIRED)
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)