[master] 4b6468a - Wayland: process OPTION_USE_WAYLAND for Unix only

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 4b6468a - Wayland: process OPTION_USE_WAYLAND for Unix only "ManoloFLTK" 22:47 Sep 22 top right image
 
commit 4b6468a80c214b4a65dd9c23eb8de0c39bfdbb25
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Sep 23 07:42:04 2022 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Sep 23 07:42:04 2022 +0200

    Wayland: process OPTION_USE_WAYLAND for Unix only

 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git src/CMakeLists.txt src/CMakeLists.txt
index 9376a02..91d4f5f 100644
--- src/CMakeLists.txt
+++ src/CMakeLists.txt
@@ -622,7 +622,7 @@ if (USE_XFT)
   endif (LIB_fontconfig)
 endif (USE_XFT)
 
-if (OPTION_USE_WAYLAND)
+if (UNIX AND OPTION_USE_WAYLAND)
   if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD")
     set(PROTOCOLS /usr/local/share/wayland-protocols)
   else ()
@@ -674,7 +674,7 @@ if (OPTION_USE_WAYLAND)
   if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux" AND NOT OPTION_BUILD_SHARED_LIBS)
     list (APPEND OPTIONAL_LIBS "-no-pie")
   endif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux" AND NOT OPTION_BUILD_SHARED_LIBS)
-endif (OPTION_USE_WAYLAND)
+endif (UNIX AND OPTION_USE_WAYLAND)
 
 #######################################################################
 
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.