diff Resources/CMake/DcmtkConfiguration.cmake @ 918:ac8f68cbdbb6 mac

build cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2014 16:09:06 +0100
parents b8322fe3bdba
children ff1812962f30
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Mon Feb 24 15:10:30 2014 +0100
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Mon Feb 24 16:09:06 2014 +0100
@@ -38,7 +38,8 @@
 
   # Source for the logging facility of DCMTK
   AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/oflog/libsrc DCMTK_SOURCES)
-  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
+      ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
     list(REMOVE_ITEM DCMTK_SOURCES 
       ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc
       ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc