Cmake bqt6 build: Ignore missing Qt6MacExtras

This commit is contained in:
Kornel Benko 2021-03-25 17:29:24 +01:00
parent efbc37926f
commit 9b03680ab5

View File

@ -790,7 +790,11 @@ if(LYX_USE_QT MATCHES "QT6|QT5")
if (${QtVal}Core_FOUND)
find_package(${QtVal}Widgets CONFIG REQUIRED)
if(APPLE)
find_package(${QtVal}MacExtras CONFIG REQUIRED)
if (LYX_USE_QT MATCHES "QT6")
find_package(${QtVal}MacExtras CONFIG QUIET)
else()
find_package(${QtVal}MacExtras CONFIG REQUIRED)
endif()
endif()
find_package(${QtVal}X11Extras CONFIG QUIET)
find_package(${QtVal}WinExtras CONFIG QUIET)