fix normal build

This commit is contained in:
2025-07-24 15:12:48 +02:00
parent 19d953891b
commit 6dbcc717f7
2 changed files with 14 additions and 6 deletions

View File

@@ -5,7 +5,15 @@ set_project("org.zulianc.jminos")
includes("@builtin/xpack")
add_requires("sfml 3.0.0", "zlib", {system = false})
option("external_build")
set_default(false)
option_end()
if has_config("external_build") then
add_requires("sfml 3.0.0", "zlib", {system = false})
else
add_requires("sfml 3.0.0", "zlib")
end
set_languages("c++20")