From 82bee7fa33218c75d94d682d9270d7ecac31f347 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 18 Nov 2022 10:55:14 +0100 Subject: [PATCH] CMake: fix informative messages sent under macOS --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fcac4269..c6ba3a069 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,7 @@ else () message (STATUS " ZLIB = System") endif () -if (UNIX) +if (UNIX AND NOT (APPLE AND NOT OPTION_APPLE_X11)) if (OPTION_USE_WAYLAND) message (STATUS "Use Wayland: Yes (when available at run-time)") @@ -271,7 +271,7 @@ if (UNIX) endif (USE_XFT) endif (USE_PANGO) -endif (UNIX) +endif (UNIX AND NOT (APPLE AND NOT OPTION_APPLE_X11)) if (FLTK_HAVE_CAIROEXT) message (STATUS "Fl_Cairo_Window support: Yes (extended)")