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