From 2fc3845e1b23a1efd5666241a2d1cc78340d4b61 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 11 Jul 2023 18:54:50 +0800 Subject: Obtain FontConfig flags when using system libs and at the same time escape use_prebuilt_binary commands in the file. --- indra/cmake/ViewerMiscLibs.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/cmake/ViewerMiscLibs.cmake b/indra/cmake/ViewerMiscLibs.cmake index 00f8b77106..52128414c9 100644 --- a/indra/cmake/ViewerMiscLibs.cmake +++ b/indra/cmake/ViewerMiscLibs.cmake @@ -1,6 +1,12 @@ # -*- cmake -*- include(Prebuilt) +if (NOT (USE_AUTOBUILD_3P OR USE_CONAN)) + add_library( ll::fontconfig INTERFACE IMPORTED ) + use_system_binary(fontconfig) + return () +endif () + if (LINUX) #use_prebuilt_binary(libuuid) add_library( ll::fontconfig INTERFACE IMPORTED ) -- cgit v1.2.3