From 1e1c2ed1d139395b9390d694ec63ca2cbed4c0f0 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 24 Aug 2014 21:59:12 +0200 Subject: [PATCH] Qt5MacExtras is required on a Mac; report the version of Qt5 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)