/bin/twnbuild: fix cmake cache for web target
This commit is contained in:
parent
affaf7f557
commit
7a38f7bcf3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user