From 950815943ac6f31e9135be1b22b397dfa47a9761 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 31 Mar 2026 09:50:55 +0800 Subject: Add "minizip" to its pkgconf include dir variable on Arch and macOS. Somehow `pkg-config --cflags minizip` of current minizip packages on those 2 OSes doesn't include the encapsulating folder "minizip". --- indra/cmake/LLPrimitive.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/cmake/LLPrimitive.cmake b/indra/cmake/LLPrimitive.cmake index 09413c912d..ec17c82e27 100644 --- a/indra/cmake/LLPrimitive.cmake +++ b/indra/cmake/LLPrimitive.cmake @@ -21,6 +21,9 @@ endif() if (TRUE) include(FindPkgConfig) pkg_check_modules(Minizip REQUIRED minizip) + if (${LINUX_DISTRO} MATCHES arch OR DARWIN) + set(Minizip_INCLUDE_DIRS ${Minizip_INCLUDE_DIRS}/minizip) + endif () pkg_check_modules(Libxml2 REQUIRED libxml-2.0) target_link_libraries( ll::minizip-ng INTERFACE ${Minizip_LIBRARIES} ) target_link_libraries( ll::libxml INTERFACE ${Libxml2_LIBRARIES} ) -- cgit v1.3