Mercurial > hg > orthanc-webviewer
changeset 54:c5a90f315f16
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Jul 2015 17:55:35 +0200 |
parents | c4a003ea5ea2 |
children | 56930e8c30b7 |
files | Orthanc/Resources/CMake/LibPngConfiguration.cmake |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Orthanc/Resources/CMake/LibPngConfiguration.cmake Thu Jul 30 17:44:59 2015 +0200 +++ b/Orthanc/Resources/CMake/LibPngConfiguration.cmake Thu Jul 30 17:55:35 2015 +0200 @@ -41,7 +41,9 @@ add_definitions( -DPNG_NO_CONSOLE_IO=1 -DPNG_NO_STDIO=1 - -DPNG_IMPEXP= # ATTEMPT + # The following declaration avoids "__declspec(dllexport)" in + # libpng to prevent publicly exposing its symbols by the DLLs + -DPNG_IMPEXP= ) source_group(ThirdParty\\Libpng REGULAR_EXPRESSION ${LIBPNG_SOURCES_DIR}/.*)