From 450254789ac7937f880528bef15c45239e1a047f Mon Sep 17 00:00:00 2001 From: Jonas Stoehr Date: Sun, 12 Oct 2025 00:55:11 +0200 Subject: [PATCH] chore: fix build systen - remove references to non-existent files (breaks ) - add installable target for tts-cli --- CMakeLists.txt | 4 +--- examples/cli/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eba3fcc..9e36bf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,10 +109,9 @@ get_target_property(GGML_LINK_LIBRARIES ggml LINK_LIBRARIES) # all public headers set(TTS_PUBLIC_HEADERS include/common.h - include/tts.h include/audio_file.h include/args.h - include/phonemizer.h) + ) set_target_properties(tts PROPERTIES PUBLIC_HEADER "${TTS_PUBLIC_HEADERS}") install(TARGETS tts LIBRARY PUBLIC_HEADER) @@ -131,7 +130,6 @@ write_basic_package_version_file( COMPATIBILITY SameMajorVersion) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tts-config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/parer-version.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/tts) configure_file(cmake/tts.pc.in diff --git a/examples/cli/CMakeLists.txt b/examples/cli/CMakeLists.txt index f288221..437b215 100644 --- a/examples/cli/CMakeLists.txt +++ b/examples/cli/CMakeLists.txt @@ -30,3 +30,4 @@ if(TTS_CLI_SDL) endif() target_link_libraries(${TARGET} PRIVATE ggml tts) +install(TARGETS ${TARGET} RUNTIME)