From c3f1be6fb57d6b82c308bdceb01879ab750abccd Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 14 Sep 2011 17:08:29 +0000 Subject: [PATCH] Included FLTK depends on libdl git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4672 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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() -- 2.39.5