From: DRC Date: Wed, 14 Sep 2011 17:08:29 +0000 (+0000) Subject: Included FLTK depends on libdl X-Git-Tag: v1.1.90~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c3f1be6fb57d6b82c308bdceb01879ab750abccd;p=tigervnc.git Included FLTK depends on libdl git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4672 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b9b327ff..1d8645a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,6 +315,9 @@ if(BUILD_NEW_VNCVIEWER) if(APPLE) set(FLTK_LIBRARIES "-framework Carbon -framework Cocoa -framework ApplicationServices") endif() + if(NOT WIN32) + set(FLTK_LIBRARIES "-ldl") + endif() message(STATUS "Using included FLTK library") endif()