diff --git a/CMakeLists.txt b/CMakeLists.txt index 8895d2cd81..84c86d424f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -555,7 +555,7 @@ if(LYX_USE_QT MATCHES "QT5") if (Qt5Core_FOUND) find_package(Qt5Widgets REQUIRED) if(APPLE) - find_package(Qt5MacExtras) + find_package(Qt5MacExtras REQUIRED) endif() find_package(Qt5X11Extras QUIET) set(QTVERSION ${Qt5Core_VERSION}) @@ -568,6 +568,7 @@ if(LYX_USE_QT MATCHES "QT5") macro (qt_wrap_uifiles) qt5_wrap_ui(${ARGN}) endmacro() + message(STATUS "Found Qt-Version ${QTVERSION}") endif() elseif(LYX_USE_QT MATCHES "QT4") find_package(Qt4 "4.5.0" REQUIRED)