summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-11 15:45:07 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-19 10:47:41 +0800
commitc718c518f86e3bd78bd71bbd07fbc626373bbe96 (patch)
tree17a527050f9fbbe437205d2ba99f8749137a83db /indra
parentb4d1301f272e707548f30f52671db76576273eaa (diff)
Not use use_system_binary for system GLEXT
for the same reason as GLH, but since the headers are expected to be installed in the same directory as GLH (and GLEXT.cmake includes GLH.cmake), we can skip any additional directory to look the headers for.
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/GLEXT.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/GLEXT.cmake b/indra/cmake/GLEXT.cmake
index 434b6f0ee8..2e46d1bea8 100644
--- a/indra/cmake/GLEXT.cmake
+++ b/indra/cmake/GLEXT.cmake
@@ -3,6 +3,11 @@ include(Prebuilt)
include(GLH)
add_library( ll::glext INTERFACE IMPORTED )
+
+if (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
+ return ()
+endif ()
+
if (WINDOWS OR LINUX)
use_system_binary(glext)
use_prebuilt_binary(glext)