From c718c518f86e3bd78bd71bbd07fbc626373bbe96 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 11 Jul 2023 15:45:07 +0800 Subject: 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. --- indra/cmake/GLEXT.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/cmake') 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) -- cgit v1.2.3