summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenJPEG.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-04-22 16:03:35 -0400
committerOz Linden <oz@lindenlab.com>2014-04-22 16:03:35 -0400
commitd00d37d23b68037fed8eeeffe21a87f7597086c3 (patch)
tree2ce3ca6ce4038ab967277ebba1ca4b8a599c50e5 /indra/cmake/OpenJPEG.cmake
parent6c8bddca3d5a790934535fdd6f176e28d181d76a (diff)
parent776aadf4ef65681084268c3866058172c89b4259 (diff)
merge changes for OPEN-199
Diffstat (limited to 'indra/cmake/OpenJPEG.cmake')
-rwxr-xr-xindra/cmake/OpenJPEG.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/OpenJPEG.cmake b/indra/cmake/OpenJPEG.cmake
index fcc82c2f49..bf0bde2ba7 100755
--- a/indra/cmake/OpenJPEG.cmake
+++ b/indra/cmake/OpenJPEG.cmake
@@ -4,9 +4,9 @@ include(Prebuilt)
set(OPENJPEG_FIND_QUIETLY ON)
set(OPENJPEG_FIND_REQUIRED ON)
-if (STANDALONE)
+if (USESYSTEMLIBS)
include(FindOpenJPEG)
-else (STANDALONE)
+else (USESYSTEMLIBS)
use_prebuilt_binary(openjpeg)
if(WINDOWS)
@@ -19,4 +19,4 @@ else (STANDALONE)
endif(WINDOWS)
set(OPENJPEG_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/openjpeg)
-endif (STANDALONE)
+endif (USESYSTEMLIBS)