Mercurial > hg > orthanc-webviewer
changeset 169:eb9fdf8db9f0
fix build on OpenBSD
author | sjodogne |
---|---|
date | Wed, 23 Aug 2017 00:07:13 +0200 |
parents | 38aa615b7667 |
children | af724b1d8440 |
files | Resources/CMake/GdcmConfiguration.cmake |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/GdcmConfiguration.cmake Tue Aug 22 21:54:36 2017 +0200 +++ b/Resources/CMake/GdcmConfiguration.cmake Wed Aug 23 00:07:13 2017 +0200 @@ -24,6 +24,10 @@ ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") set(AdditionalFlags "-fPIC") + elseif (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") + # This definition is necessary to compile + # "Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx" + set(AdditionalFlags "-Doff64_t=off_t") endif() set(Flags