Fix some paths

master
Harald Wolff 2024-03-27 22:22:10 +01:00
parent 662f582e9d
commit b1cc134fa9
1 changed files with 1 additions and 22 deletions

View File

@ -24,8 +24,6 @@ else()
set(WHISPER_STANDALONE OFF)
endif()
if (EMSCRIPTEN)
set(BUILD_SHARED_LIBS_DEFAULT OFF)
@ -310,7 +308,7 @@ if (WHISPER_CLBLAST)
if (CLBlast_FOUND)
message(STATUS "CLBlast found")
set(GGML_SOURCES_OPENCL ggml-opencl.cpp ggml-opencl.h)
set(GGML_SOURCES_OPENCL ${CMAKE_CURRENT_LIST_DIR}/ggml-opencl.cpp ${CMAKE_CURRENT_LIST_DIR}/ggml-opencl.h)
add_compile_definitions(GGML_USE_CLBLAST)
@ -630,22 +628,3 @@ install(TARGETS ${TARGET}
RESOURCE DESTINATION bin
PUBLIC_HEADER DESTINATION include
)
#
# bindings
#
add_subdirectory(${WHISPER_BASE_DIR}/bindings)
#
# programs, examples and tests
#
if (WHISPER_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
enable_testing()
add_subdirectory(${WHISPER_BASE_DIR}/tests)
endif ()
if (WHISPER_BUILD_EXAMPLES)
add_subdirectory(${WHISPER_BASE_DIR}/examples)
endif()