diff --git a/CMakeLists.txt b/CMakeLists.txt index 12dd3947be..e4ed8cfc11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)