From: Markus Goetz Date: Wed, 22 Aug 2018 14:38:57 +0000 (+0200) Subject: CMakeLists.txt: Log the Qt version in compile X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~511 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=811ac50c05d0c0a08432cc335ab8a785773a5896;p=nextcloud-desktop.git CMakeLists.txt: Log the Qt version in compile --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a79edfcfb..00eef6c87 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)