summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-16 17:38:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-16 17:38:53 (GMT)
commitf519f149722dce667555dd28f4510f865a485cef (patch)
treec80ecb12a91833e7f1461582aac52f957098d256 /Modules/FindFLTK.cmake
parent61b488021e7ac0321238ba1ba491478d58163b23 (diff)
downloadCMake-f519f149722dce667555dd28f4510f865a485cef.zip
CMake-f519f149722dce667555dd28f4510f865a485cef.tar.gz
CMake-f519f149722dce667555dd28f4510f865a485cef.tar.bz2
ENH: fix for borland and cygwin
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index d43d95c..acad239 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -36,7 +36,13 @@ FIND_PATH(FLTK_INCLUDE_DIR FL/Fl.h
# Platform dependent libraries required by FLTK
IF(WIN32)
- SET( FLTK_PLATFORM_DEPENDENT_LIBS wsock32 comctl32 )
+ IF(NOT CYGWIN)
+ IF(BORLAND)
+ SET( FLTK_PLATFORM_DEPENDENT_LIBS import32 )
+ ELSE(BORLAND)
+ SET( FLTK_PLATFORM_DEPENDENT_LIBS wsock32 comctl32 )
+ ENDIF(BORLAND)
+ ENDIF(NOT CYGWIN)
ENDIF(WIN32)
IF(UNIX)