summaryrefslogtreecommitdiff
path: root/indra/cmake/PNG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/PNG.cmake')
-rw-r--r--indra/cmake/PNG.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake
index 4d0b7b2d8d..cf10c2dda5 100644
--- a/indra/cmake/PNG.cmake
+++ b/indra/cmake/PNG.cmake
@@ -8,6 +8,12 @@ if (STANDALONE)
include(FindPNG)
else (STANDALONE)
use_prebuilt_binary(libpng)
- set(PNG_LIBRARIES png12)
+ if (WINDOWS)
+ set(PNG_LIBRARIES
+ debug libpngd
+ optimized libpng)
+ else (WINDOWS)
+ set(PNG_LIBRARIES png12)
+ endif (WINDOWS)
set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)