diff options
Diffstat (limited to 'fltk-options/CMakeLists.txt')
| -rw-r--r-- | fltk-options/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fltk-options/CMakeLists.txt b/fltk-options/CMakeLists.txt index 7f289ab92..96c61773c 100644 --- a/fltk-options/CMakeLists.txt +++ b/fltk-options/CMakeLists.txt @@ -51,11 +51,7 @@ else () endif () -# we must link all programs with fltk_cairo if option CAIROEXT is enabled -if (FLTK_HAVE_CAIROEXT) - list (APPEND FLTK_OPTIONS_LIBS fltk_cairo cairo) -endif (FLTK_HAVE_CAIROEXT) - +# we must link fltk-optons with cairo if option CAIRO is enabled if (FLTK_HAVE_CAIRO) fl_target_link_directories (fltk-options PRIVATE "${PKG_CAIRO_LIBRARY_DIRS}") endif (FLTK_HAVE_CAIRO) |
