From 7a38f7bcf396dcd4d6ccee2eb5cb4dee01ec93eb Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sat, 22 Feb 2025 01:32:55 +0300 Subject: [PATCH] /bin/twnbuild: fix cmake cache for web target --- bin/twnbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/twnbuild b/bin/twnbuild index a8fac73..480c86c 100755 --- a/bin/twnbuild +++ b/bin/twnbuild @@ -24,7 +24,7 @@ cmake = ["emcmake", "cmake"] if target_web else ["cmake"] command = [] # check whether clang is around (it's just better) -if has_clang: +if has_clang and not target_web: command += ["-DCMAKE_C_COMPILER=clang"] # check whether ninja is around (you better start running) if has_ninja: