]> source.dussan.org Git - tigervnc.git/commitdiff
Oops. Apple version doesn't need to link with libdl, and we don't want to clobber...
authorDRC <dcommander@users.sourceforge.net>
Wed, 14 Sep 2011 20:18:23 +0000 (20:18 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 14 Sep 2011 20:18:23 +0000 (20:18 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4674 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index 1d8645a945f73c2ea8b619003577ccd72b039eb9..3cee4a600b2c457e64c54719b614099107d70fdd 100644 (file)
@@ -314,8 +314,7 @@ if(BUILD_NEW_VNCVIEWER)
     set(FLTK_LIBRARIES)
     if(APPLE)
       set(FLTK_LIBRARIES "-framework Carbon -framework Cocoa -framework ApplicationServices")
-    endif()
-    if(NOT WIN32)
+    elseif(NOT WIN32)
       set(FLTK_LIBRARIES "-ldl")
     endif()
     message(STATUS "Using included FLTK library")