summaryrefslogtreecommitdiff
path: root/indra/cmake/GLH.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GLH.cmake')
-rw-r--r--indra/cmake/GLH.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/GLH.cmake b/indra/cmake/GLH.cmake
index 0cefc3543a..bdd8bc4836 100644
--- a/indra/cmake/GLH.cmake
+++ b/indra/cmake/GLH.cmake
@@ -3,5 +3,10 @@ include(Prebuilt)
add_library( ll::glh_linear INTERFACE IMPORTED )
+if (USESYSTEMLIBS)
+ target_include_directories( ll::glh_linear SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include)
+ return ()
+endif ()
+
use_system_binary( glh_linear )
use_prebuilt_binary(glh_linear)