comparison 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
comparison
equal deleted inserted replaced
917:312d04beb0a2 918:ac8f68cbdbb6
36 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/dcmdata/libsrc DCMTK_SOURCES) 36 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/dcmdata/libsrc DCMTK_SOURCES)
37 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/ofstd/libsrc DCMTK_SOURCES) 37 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/ofstd/libsrc DCMTK_SOURCES)
38 38
39 # Source for the logging facility of DCMTK 39 # Source for the logging facility of DCMTK
40 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/oflog/libsrc DCMTK_SOURCES) 40 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/oflog/libsrc DCMTK_SOURCES)
41 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 41 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
42 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
42 list(REMOVE_ITEM DCMTK_SOURCES 43 list(REMOVE_ITEM DCMTK_SOURCES
43 ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc 44 ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc
44 ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc 45 ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc
45 ) 46 )
46 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 47 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")