summaryrefslogtreecommitdiff
path: root/indra/cmake/TinyEXR.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/TinyEXR.cmake')
-rw-r--r--indra/cmake/TinyEXR.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/cmake/TinyEXR.cmake b/indra/cmake/TinyEXR.cmake
index e6d142d19d..c3053b8149 100644
--- a/indra/cmake/TinyEXR.cmake
+++ b/indra/cmake/TinyEXR.cmake
@@ -1,7 +1,9 @@
# -*- cmake -*-
include(Prebuilt)
+if (NOT USESYSTEMLIBS)
use_prebuilt_binary(tinyexr)
+endif ()
set(TINYEXR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinyexr)