Build: Don't link with system-installed libs on CI

This commit is contained in:
SirLynix 2024-02-09 14:39:55 +01:00
parent 89c08d3925
commit bc6521cb7c
1 changed files with 5 additions and 0 deletions

View File

@ -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")