Skip to content

Commit 78ae468

Browse files
committed
must set DAWN_EMSCRIPTEN_TOOLCHAIN for build too
1 parent 9f4059b commit 78ae468

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/dawn.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set(DAWN_BUILD_DIR "${DAWN_DIR}/build" CACHE INTERNAL "")
66
if(EMSCRIPTEN)
77
set(EM_SDK_DIR $ENV{EMSDK} CACHE INTERNAL "")
88
set(DAWN_BUILD_DIR "${DAWN_DIR}/build_web" CACHE INTERNAL "")
9+
set(DAWN_EMSCRIPTEN_TOOLCHAIN ${EM_SDK_DIR}/upstream/emscripten CACHE INTERNAL "" FORCE)
910
endif()
1011

1112
# Enable find for no dawn rebuilds with flutter run

0 commit comments

Comments
 (0)