From 69ec698e41efbba438c1a758a63a097f19fa0a1f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 31 Dec 2015 06:19:59 +0000 Subject: Mac OS: modified CMake config files to allow use of OPTION_APPLE_X11 to build an X11-using version of FLTK on the Mac OS platform. This matches the recent support of the --enable-x11 option by the configure script on the mac. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6161b2379..6ef9cd040 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -198,7 +198,7 @@ set(CFILES ) add_definitions(-DFL_LIBRARY) -if(APPLE) +if(APPLE AND NOT OPTION_APPLE_X11) set(MMFILES Fl_cocoa.mm Fl_Quartz_Printer.mm @@ -208,7 +208,7 @@ if(APPLE) else() set(MMFILES ) -endif(APPLE) +endif(APPLE AND NOT OPTION_APPLE_X11) ####################################################################### FL_ADD_LIBRARY(fltk STATIC "${CPPFILES};${MMFILES};${CFILES};fl_call_main.c") -- cgit v1.2.3