diff options
author | Debi King (Dessie) <dessie@lindenlab.com> | 2011-04-07 22:35:27 -0400 |
---|---|---|
committer | Debi King (Dessie) <dessie@lindenlab.com> | 2011-04-07 22:35:27 -0400 |
commit | 746633c6adfcde5b43ac578bede09bf7d05934e1 (patch) | |
tree | 49d9182789c9cf805969b3779408df55cb1e84b4 /indra/cmake/PNG.cmake | |
parent | 94aa24a89ee96689633fad4e7250f6f81b6b76c1 (diff) | |
parent | 7054aaba6d6f044cd835e79e3be898d63ce96def (diff) |
Merged BuildParams
Diffstat (limited to 'indra/cmake/PNG.cmake')
-rw-r--r-- | indra/cmake/PNG.cmake | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake index f6522d9e2f..913c575672 100644 --- a/indra/cmake/PNG.cmake +++ b/indra/cmake/PNG.cmake @@ -8,6 +8,14 @@ if (STANDALONE) include(FindPNG) else (STANDALONE) use_prebuilt_binary(libpng) - set(PNG_LIBRARIES png12) - set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng12) + if (WINDOWS) + set(PNG_LIBRARIES libpng15) + set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng15) + elseif(DARWIN) + set(PNG_LIBRARIES png15) + set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng15) + else() + set(PNG_LIBRARIES png15) + set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng15) + endif() endif (STANDALONE) |