Mercurial > hg > orthanc
comparison Resources/CMake/LibPngConfiguration.cmake @ 8:3a584803783e
build with visual studio
author | jodogne |
---|---|
date | Fri, 20 Jul 2012 11:00:49 +0200 |
parents | 3959d33612cc |
children | b45bc565d82a 61ab5fa36754 |
comparison
equal
deleted
inserted
replaced
6:9d483cf71d17 | 8:3a584803783e |
---|---|
40 add_definitions( | 40 add_definitions( |
41 -DPNG_NO_CONSOLE_IO=1 | 41 -DPNG_NO_CONSOLE_IO=1 |
42 -DPNG_NO_STDIO=1 | 42 -DPNG_NO_STDIO=1 |
43 ) | 43 ) |
44 | 44 |
45 source_group(ThirdParty\\Libpng REGULAR_EXPRESSION ${LIBPNG_SOURCES_DIR}/.*) | |
46 | |
45 else() | 47 else() |
46 include(FindPNG) | 48 include(FindPNG) |
47 | 49 |
48 if (NOT ${PNG_FOUND}) | 50 if (NOT ${PNG_FOUND}) |
49 message(FATAL_ERROR "Unable to find LibPNG") | 51 message(FATAL_ERROR "Unable to find LibPNG") |