Add -lwinspool necessary for new class Fl_PDF_File_Surface

This commit is contained in:
ManoloFLTK 2024-08-06 17:27:10 +02:00
parent 44a8508ffe
commit 713f0b0f64

View File

@ -40,7 +40,7 @@ endif(DEBUG_VARIABLES_CMAKE)
# FIXME: check fontconfig conditions (only if Xft is used or ...) # FIXME: check fontconfig conditions (only if Xft is used or ...)
if(WIN32) if(WIN32)
list(APPEND FLTK_LDLIBS -lole32 -luuid -lcomctl32 -lws2_32) list(APPEND FLTK_LDLIBS -lole32 -luuid -lcomctl32 -lws2_32 -lwinspool)
elseif(APPLE AND NOT FLTK_BACKEND_X11) elseif(APPLE AND NOT FLTK_BACKEND_X11)
list(APPEND FLTK_LDLIBS ${FLTK_COCOA_FRAMEWORKS}) list(APPEND FLTK_LDLIBS ${FLTK_COCOA_FRAMEWORKS})
elseif(FLTK_BACKEND_WAYLAND) elseif(FLTK_BACKEND_WAYLAND)