Skip to content

Commit 5391dcd

Browse files
committed
Try using EMCC_SUFFIX instead of making our own
1 parent adddacc commit 5391dcd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,8 @@ endif()
432432

433433
if(EMSCRIPTEN)
434434
# Ensure required SDL2 ports (e.g. SDL2) are built before header preloading
435-
if (CMAKE_C_COMPILER MATCHES ".bat")
436-
set(embuilder_suffix .bat)
437-
endif()
438435
execute_process(
439-
COMMAND embuilder${embuilder_suffix} build sdl2
436+
COMMAND embuilder${EMCC_SUFFIX} build sdl2
440437
RESULT_VARIABLE SDL2_RESULT
441438
)
442439
if(NOT SDL2_RESULT EQUAL 0)

0 commit comments

Comments
 (0)