diff 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
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Mon Aug 21 15:04:20 2017 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Mon Aug 21 16:28:53 2017 +0200
@@ -202,7 +202,8 @@
   if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
       ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
       ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
-      ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
+      ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR
+      ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
     list(REMOVE_ITEM DCMTK_SOURCES 
       ${DCMTK_SOURCES_DIR}/oflog/libsrc/clfsap.cc
       ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc