CMake: fix informative messages sent under macOS

This commit is contained in:
ManoloFLTK 2022-11-18 10:55:14 +01:00
parent 615b731783
commit 82bee7fa33

View File

@ -246,7 +246,7 @@ else ()
message (STATUS " ZLIB = System") message (STATUS " ZLIB = System")
endif () endif ()
if (UNIX) if (UNIX AND NOT (APPLE AND NOT OPTION_APPLE_X11))
if (OPTION_USE_WAYLAND) if (OPTION_USE_WAYLAND)
message (STATUS "Use Wayland: Yes (when available at run-time)") message (STATUS "Use Wayland: Yes (when available at run-time)")
@ -271,7 +271,7 @@ if (UNIX)
endif (USE_XFT) endif (USE_XFT)
endif (USE_PANGO) endif (USE_PANGO)
endif (UNIX) endif (UNIX AND NOT (APPLE AND NOT OPTION_APPLE_X11))
if (FLTK_HAVE_CAIROEXT) if (FLTK_HAVE_CAIROEXT)
message (STATUS "Fl_Cairo_Window support: Yes (extended)") message (STATUS "Fl_Cairo_Window support: Yes (extended)")