summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files 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)")