Skip to content

Commit 5b8ad7f

Browse files
committed
cont : fix emscripten builds
1 parent b51d42f commit 5b8ad7f

File tree

5 files changed

+12
-24
lines changed

5 files changed

+12
-24
lines changed

examples/CMakeLists.txt

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -104,26 +104,22 @@ elseif(CMAKE_JS_VERSION)
104104
add_subdirectory(addon.node)
105105
else()
106106
add_subdirectory(cli)
107-
if (WHISPER_SDL2)
108-
add_subdirectory(stream)
109-
endif (WHISPER_SDL2)
110-
add_subdirectory(server)
111-
if (WHISPER_SDL2)
112-
add_subdirectory(command)
113-
endif (WHISPER_SDL2)
114107
add_subdirectory(bench)
108+
add_subdirectory(server)
115109
add_subdirectory(quantize)
116-
if (WHISPER_SDL2)
117-
add_subdirectory(talk-llama)
118-
add_subdirectory(lsp)
119-
if (GGML_SYCL)
120-
add_subdirectory(sycl)
121-
endif()
122-
endif (WHISPER_SDL2)
110+
if (WHISPER_SDL2)
111+
add_subdirectory(stream)
112+
add_subdirectory(command)
113+
add_subdirectory(talk-llama)
114+
add_subdirectory(lsp)
115+
if (GGML_SYCL)
116+
add_subdirectory(sycl)
117+
endif()
118+
endif (WHISPER_SDL2)
119+
120+
add_subdirectory(deprecation-warning)
123121
endif()
124122

125123
if (WHISPER_SDL2)
126124
add_subdirectory(wchess)
127125
endif (WHISPER_SDL2)
128-
129-
add_subdirectory(deprecation-warning)

examples/bench.wasm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ set_target_properties(${TARGET} PROPERTIES LINK_FLAGS " \
3939
${EXTRA_FLAGS} \
4040
")
4141

42-
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
43-
4442
#
4543
# bench.wasm
4644
#

examples/command.wasm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ set_target_properties(${TARGET} PROPERTIES LINK_FLAGS " \
4040
${EXTRA_FLAGS} \
4141
")
4242

43-
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
44-
4543
#
4644
# command.wasm
4745
#

examples/stream.wasm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ set_target_properties(${TARGET} PROPERTIES LINK_FLAGS " \
3939
${EXTRA_FLAGS} \
4040
")
4141

42-
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
43-
4442
#
4543
# stream.wasm
4644
#

examples/whisper.wasm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ set_target_properties(${TARGET} PROPERTIES LINK_FLAGS " \
3939
${EXTRA_FLAGS} \
4040
")
4141

42-
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
43-
4442
#
4543
# whisper.wasm
4644
#

0 commit comments

Comments
 (0)