From 787c67afea179735f2fea12f95ad04c80b3717e7 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 12 Jul 2021 19:26:28 +0200 Subject: macOS: fix fltk_cairo shared library (issue #250) - add missing dependencies to build the shared libfltk_cairo(.dylib) - remove incorrect dependency on cairo from libfltk - add cairo_test-shared demo (linked with shared libs) --- src/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1a614bee4..274df8e02 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -519,10 +519,6 @@ if (WIN32) list (APPEND OPTIONAL_LIBS comctl32 ws2_32) endif (WIN32) -if (FLTK_HAVE_CAIRO) - list (APPEND OPTIONAL_LIBS fltk_cairo ${PKG_CAIRO_LIBRARIES}) -endif (FLTK_HAVE_CAIRO) - if (HAVE_XINERAMA) list (APPEND OPTIONAL_LIBS ${X11_Xinerama_LIB}) endif (HAVE_XINERAMA) -- cgit v1.2.3