diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2014-07-08 17:29:48 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2014-07-08 17:29:48 -0400 |
commit | 29bea5a6b94458e23559bdbeaae5a593100533b6 (patch) | |
tree | 5bd356450afd8da159542bfd444b653442004a45 /indra/cmake/PNG.cmake | |
parent | 053f436413c01e237accabace4dc5ff1eccca837 (diff) | |
parent | 226929f8f5b8bc1080d0082b2595d689238df2b8 (diff) |
Merge. Refresh from viewer-release after 3.7.11 release.
Diffstat (limited to 'indra/cmake/PNG.cmake')
-rwxr-xr-x | indra/cmake/PNG.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake index 9653591f67..248a875a19 100755 --- a/indra/cmake/PNG.cmake +++ b/indra/cmake/PNG.cmake @@ -4,9 +4,9 @@ include(Prebuilt) set(PNG_FIND_QUIETLY ON) set(PNG_FIND_REQUIRED ON) -if (STANDALONE) +if (USESYSTEMLIBS) include(FindPNG) -else (STANDALONE) +else (USESYSTEMLIBS) use_prebuilt_binary(libpng) if (WINDOWS) set(PNG_LIBRARIES libpng16) @@ -31,4 +31,4 @@ else (STANDALONE) set(PNG_LIBRARIES png16) set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/libpng16) endif() -endif (STANDALONE) +endif (USESYSTEMLIBS) |