]> source.dussan.org Git - tigervnc.git/commitdiff
Included FLTK depends on libdl
authorDRC <dcommander@users.sourceforge.net>
Wed, 14 Sep 2011 17:08:29 +0000 (17:08 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 14 Sep 2011 17:08:29 +0000 (17:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4672 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index b9b327ff7472f0843f1e625d068763d3c49bf714..1d8645a945f73c2ea8b619003577ccd72b039eb9 100644 (file)
@@ -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()