summaryrefslogtreecommitdiff
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-09-21 17:28:34 -0400
committerBrad King <brad.king@kitware.com>2010-09-21 17:29:22 -0400
commita6628d154a5bbdd7a41f0791df26eb55f18a3a3e (patch)
treebdc9fcf1bcd64def20b2b5e60292f5a38cce9a0e /Modules/FindFLTK.cmake
parent5970c0f947ecc94ec4b1c0ca1d7e90d80124647c (diff)
downloadcmake-a6628d154a5bbdd7a41f0791df26eb55f18a3a3e.tar.gz
FindFLTK*: Use Cygwin fltk on Cygwin
Do not set FLTK_PLATFORM_DEPENDENT_LIBS to contain win32 libraries. Cygwin builds should use the fltk that comes with Cygwin.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 6d51277ae5..03d4b8e148 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -67,11 +67,6 @@ IF(APPLE)
SET( FLTK_PLATFORM_DEPENDENT_LIBS "-framework Carbon -framework Cocoa -framework ApplicationServices -lz")
ENDIF(APPLE)
-IF(CYGWIN)
- FIND_LIBRARY(FLTK_MATH_LIBRARY m)
- SET( FLTK_PLATFORM_DEPENDENT_LIBS ole32 uuid comctl32 wsock32 supc++ ${FLTK_MATH_LIBRARY} -lgdi32)
-ENDIF(CYGWIN)
-
# If FLTK_INCLUDE_DIR is already defined we assigne its value to FLTK_DIR
IF(FLTK_INCLUDE_DIR)
SET(FLTK_DIR ${FLTK_INCLUDE_DIR})