Mercurial > hg > orthanc
comparison Resources/CMake/LibPngConfiguration.cmake @ 2113:0108ac01fc8e
added source_group directives for MSVC
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Oct 2016 11:43:28 +0200 |
parents | 292bce3f54ed |
children | 8b51b133bb8b |
comparison
equal
deleted
inserted
replaced
2112:82461d1e8e17 | 2113:0108ac01fc8e |
---|---|
44 # The following declaration avoids "__declspec(dllexport)" in | 44 # The following declaration avoids "__declspec(dllexport)" in |
45 # libpng to prevent publicly exposing its symbols by the DLLs | 45 # libpng to prevent publicly exposing its symbols by the DLLs |
46 -DPNG_IMPEXP= | 46 -DPNG_IMPEXP= |
47 ) | 47 ) |
48 | 48 |
49 source_group(ThirdParty\\Libpng REGULAR_EXPRESSION ${LIBPNG_SOURCES_DIR}/.*) | 49 source_group(ThirdParty\\libpng REGULAR_EXPRESSION ${LIBPNG_SOURCES_DIR}/.*) |
50 | 50 |
51 else() | 51 else() |
52 include(FindPNG) | 52 include(FindPNG) |
53 | 53 |
54 if (NOT ${PNG_FOUND}) | 54 if (NOT ${PNG_FOUND}) |