mirror of https://github.com/fltk/fltk
Fix "cairo_test fails to link due to undefined's" (#902)
Restore "too much optimized" CMake code. The issue would only be visible if neither FLTK_GRAPHICS_CAIRO nor FLTK_BACKEND_WAYLAND was active.
This commit is contained in:
parent
fc6d364057
commit
3895068aa1
|
@ -214,11 +214,11 @@ if(OPENGL_FOUND)
|
|||
endif(OPENGL_FOUND)
|
||||
|
||||
# Cairo demo - must also be built w/o Cairo (displays a message box)
|
||||
# ### if(FLTK_HAVE_CAIRO)
|
||||
# ### fl_create_example(cairo_test cairo_test.cxx "fltk;cairo")
|
||||
# ### else()
|
||||
if(FLTK_HAVE_CAIRO)
|
||||
fl_create_example(cairo_test cairo_test.cxx "fltk::fltk;cairo")
|
||||
else()
|
||||
fl_create_example(cairo_test cairo_test.cxx fltk::fltk)
|
||||
# ### endif(FLTK_HAVE_CAIRO)
|
||||
endif(FLTK_HAVE_CAIRO)
|
||||
|
||||
# *** EXPERIMENTAL ***
|
||||
# Build some of the demo programs linked against the shared FLTK lib(s).
|
||||
|
|
Loading…
Reference in New Issue