diff options
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) |