comparison Resources/CMake/DcmtkConfiguration.cmake @ 2364:ae50eccd41b7

compilation succeeds on OpenBSD
author jodogne
date Mon, 21 Aug 2017 16:28:53 +0200
parents 7b3b82d426ed
children c33ff8a7ffa9
comparison
equal deleted inserted replaced
2363:f8ef157f2d73 2364:ae50eccd41b7
200 # Source for the logging facility of DCMTK 200 # Source for the logging facility of DCMTK
201 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/oflog/libsrc DCMTK_SOURCES) 201 AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/oflog/libsrc DCMTK_SOURCES)
202 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 202 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
203 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR 203 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
204 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR 204 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
205 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 205 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR
206 ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
206 list(REMOVE_ITEM DCMTK_SOURCES 207 list(REMOVE_ITEM DCMTK_SOURCES
207 ${DCMTK_SOURCES_DIR}/oflog/libsrc/clfsap.cc 208 ${DCMTK_SOURCES_DIR}/oflog/libsrc/clfsap.cc
208 ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc 209 ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc
209 ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc 210 ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc
210 ) 211 )