diff options
-rw-r--r-- | Modules/FindFLTK.cmake | 8 |
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) |