summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-11 14:58:08 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-19 10:47:10 +0800
commitb4d1301f272e707548f30f52671db76576273eaa (patch)
tree6fccb5c4d4c349947da2bd0d47647e0c5422a35f /indra/cmake
parent78fc526400e253500f809e15b2da50061883d8c8 (diff)
Not use use_system_binary for system GLH
No package manager that I know of provide such package. So this one is expected to be installed in /usr/local/include.
Diffstat (limited to 'indra/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..49c4e3b37a 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 (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
+ target_include_directories( ll::glh_linear SYSTEM INTERFACE /usr/local/include )
+ return ()
+endif ()
+
use_system_binary( glh_linear )
use_prebuilt_binary(glh_linear)