From: malaterre Date: Thu, 9 Oct 2003 15:39:32 +0000 (+0000) Subject: FIX: on cygwin Wsock32 doesn't exist X-Git-Tag: Version0.3.1~119 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c402879b6af9ae8b2364a210654c864c5283c959;p=gdcm.git FIX: on cygwin Wsock32 doesn't exist --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 79213f52..c5f999bd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,15 +62,15 @@ SET_SOURCE_FILES_PROPERTIES(${libgdcm_la_SOURCES} ADD_LIBRARY(gdcm ${libgdcm_la_SOURCES} ) #TODO this is not working out of the box (on the first time) -IF(WIN32) +IF(UNIX) TARGET_LINK_LIBRARIES(gdcm gdcmijpeg8 gdcmijpeg12 - Wsock32.lib ) -ELSE(WIN32) +ELSE(UNIX) TARGET_LINK_LIBRARIES(gdcm gdcmijpeg8 gdcmijpeg12 + Wsock32.lib #doesn't exist on cygwin ) -ENDIF(WIN32) \ No newline at end of file +ENDIF(UNIX) \ No newline at end of file