diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 3a772d5148..b13b22a7f6 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -51,7 +51,7 @@ function main(t) end local clang = find_tool("clang", {version = true}) if clang and clang.version then - if semver.compare(clang.version, "16.0") >= 0 then + if semver.compare(clang.version, "19.0") >= 0 then os.exec("xmake clean -a") -- clang-scan-deps dependency detection doesn't support header units atm os.exec("xmake f --toolchain=clang --policies=build.c++.clang.fallbackscanner -c --yes")