Mercurial > hg > orthanc
diff Resources/CMake/DcmtkConfiguration.cmake @ 890:816dccaeb7cf
Support of kFreeBSD
author | jodogne |
---|---|
date | Mon, 16 Jun 2014 15:39:16 +0200 |
parents | f53358c70c05 |
children | 401a8273fd71 |
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake Sat Jun 14 15:50:02 2014 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Mon Jun 16 15:39:16 2014 +0200 @@ -87,7 +87,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 "kFreeBSD") list(REMOVE_ITEM DCMTK_SOURCES ${DCMTK_SOURCES_DIR}/oflog/libsrc/windebap.cc ${DCMTK_SOURCES_DIR}/oflog/libsrc/winsock.cc