From: DRC Date: Wed, 14 Sep 2011 20:18:23 +0000 (+0000) Subject: Oops. Apple version doesn't need to link with libdl, and we don't want to clobber... X-Git-Tag: v1.1.90~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce33190fbed3cb1e231348e1949a9572fcc1e26a;p=tigervnc.git Oops. Apple version doesn't need to link with libdl, and we don't want to clobber the existing value of FLTK_LIBRARIES. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4674 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d8645a9..3cee4a60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")