ENH: fix for borland and cygwin

This commit is contained in:
Bill Hoffman 2003-01-16 12:38:53 -05:00
parent 61b488021e
commit f519f14972
1 changed files with 7 additions and 1 deletions

View File

@ -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)