# HG changeset patch # User Sebastien Jodogne # Date 1438271735 -7200 # Node ID c5a90f315f16fd1c7a60842a6f92408128b5c571 # Parent c4a003ea5ea2bc0d81bba9a3412b05403bf59e4e sync diff -r c4a003ea5ea2 -r c5a90f315f16 Orthanc/Resources/CMake/LibPngConfiguration.cmake --- 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}/.*)