Mercurial > hg > orthanc
diff Resources/CMake/CivetwebConfiguration.cmake @ 3688:9c091747483a
Enable support of compression in civetweb
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Feb 2020 10:51:26 +0100 |
parents | 6d558598d713 |
children | 9fe1d64a748c |
line wrap: on
line diff
--- a/Resources/CMake/CivetwebConfiguration.cmake Tue Feb 25 08:42:00 2020 +0100 +++ b/Resources/CMake/CivetwebConfiguration.cmake Tue Feb 25 10:51:26 2020 +0100 @@ -30,6 +30,12 @@ ${CIVETWEB_SOURCES_DIR}/src/civetweb.c ) + # New in Orthanc 1.6.0: Enable support of compression in civetweb + set_source_files_properties( + ${CIVETWEB_SOURCES} + PROPERTIES COMPILE_DEFINITIONS + "USE_ZLIB=1") + if (ENABLE_SSL) add_definitions( -DNO_SSL_DL=1