From bc6521cb7c06721cf7c49bf39e203714f0249cfd Mon Sep 17 00:00:00 2001 From: SirLynix Date: Fri, 9 Feb 2024 14:39:55 +0100 Subject: [PATCH] Build: Don't link with system-installed libs on CI --- xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmake.lua b/xmake.lua index 425eb70b4..275fdfdba 100644 --- a/xmake.lua +++ b/xmake.lua @@ -284,6 +284,11 @@ add_requires( "utfcpp" ) +-- Don't link with system-installed libs on CI +if os.getenv("CI") then + add_requireconfs("**", "*.**", { system = false }) +end + -- Module dependencies if has_config("audio") then add_requires("dr_wav", "libflac", "minimp3")