summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-10-14 14:03:01 -0700
committerGitHub <noreply@github.com>2024-10-14 14:03:01 -0700
commitf857815a8c0a4e8d4f35c9a49c655545fb692195 (patch)
tree78fecf229aece79d27d4d42664eda267706670c5 /CMakeLists.txt
parent5126d58ab2252357014df4136a4a1e07c7c2d5f4 (diff)
Misc build fixes. (#5271)
* Don't use __assume for SLANG_ASSERT + build fixes. * Fix. * build slang-wasm conditionally * Fix. * revert retry open file * revert include. * another attempt of silencing compiler warnings. * revert assume change.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d710c137..8c5003401 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -382,7 +382,7 @@ endif()
#
# This is an executable target because emcmake produces .a files without bindings if you just create a static library
# https://stackoverflow.com/questions/63622009/static-library-built-with-cmake-as-a-with-emscripten-instead-of-wasm-js
-if(EMSCRIPTEN)
+if (EMSCRIPTEN)
slang_add_target(
source/slang-wasm
EXECUTABLE