build(web): compile source WebEngine with local emsdk
This commit is contained in:
@@ -105,7 +105,7 @@ target_link_libraries(makesdna PRIVATE bf::dependencies::pthreads)
|
||||
|
||||
# Output dna.cc
|
||||
if(EMSCRIPTEN)
|
||||
set(MAKESDNA_EXECUTABLE /usr/bin/node "$<TARGET_FILE:makesdna>")
|
||||
set(MAKESDNA_EXECUTABLE "${BLENDER_HOST_EXECUTABLE_PREFIX}" "$<TARGET_FILE:makesdna>")
|
||||
else()
|
||||
set(MAKESDNA_EXECUTABLE "$<TARGET_FILE:makesdna>")
|
||||
endif()
|
||||
|
||||
@@ -439,7 +439,7 @@ target_link_libraries(makesrna PRIVATE bf::dependencies::fmt)
|
||||
# NOTE: (Linux only): with crashes try add this after COMMAND:
|
||||
# `valgrind --leak-check=full --track-origins=yes`
|
||||
if(EMSCRIPTEN)
|
||||
set(MAKESRNA_EXECUTABLE /usr/bin/node "$<TARGET_FILE:makesrna>")
|
||||
set(MAKESRNA_EXECUTABLE "${BLENDER_HOST_EXECUTABLE_PREFIX}" "$<TARGET_FILE:makesrna>")
|
||||
else()
|
||||
set(MAKESRNA_EXECUTABLE "$<TARGET_FILE:makesrna>")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user