summaryrefslogtreecommitdiff
path: root/indra/cmake/ZLIB.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/ZLIB.cmake')
-rwxr-xr-xindra/cmake/ZLIB.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/ZLIB.cmake b/indra/cmake/ZLIB.cmake
index 0470f3e797..6cff0753b2 100755
--- a/indra/cmake/ZLIB.cmake
+++ b/indra/cmake/ZLIB.cmake
@@ -5,9 +5,9 @@ set(ZLIB_FIND_REQUIRED ON)
include(Prebuilt)
-if (STANDALONE)
+if (USESYSTEMLIBS)
include(FindZLIB)
-else (STANDALONE)
+else (USESYSTEMLIBS)
use_prebuilt_binary(zlib)
if (WINDOWS)
set(ZLIB_LIBRARIES
@@ -32,4 +32,4 @@ else (STANDALONE)
set(ZLIB_LIBRARIES z)
endif (WINDOWS)
set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/zlib)
-endif (STANDALONE)
+endif (USESYSTEMLIBS)