CMake building with OPTION_PRINT_SUPPORT off: Fl_Posix_Printer_Driver.cxx should be excluded from compilation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-12-01 06:33:14 +00:00
parent c794b5ecbd
commit 1458f7e84b

View File

@ -157,6 +157,7 @@ else ()
set (PSFILES
drivers/PostScript/Fl_PostScript.cxx
drivers/PostScript/Fl_PostScript_image.cxx
drivers/Posix/Fl_Posix_Printer_Driver.cxx
)
endif ((USE_X11 OR USE_SDL) AND NOT OPTION_PRINT_SUPPORT)
@ -168,7 +169,6 @@ if (USE_X11)
set (DRIVER_FILES
drivers/Posix/Fl_Posix_System_Driver.cxx
drivers/Posix/Fl_Posix_Printer_Driver.cxx
drivers/X11/Fl_X11_Screen_Driver.cxx
drivers/X11/Fl_X11_Window_Driver.cxx
drivers/X11/Fl_X11_System_Driver.cxx