diff --git a/whisper_cpp_vendor/CMakeLists.txt b/whisper_cpp_vendor/CMakeLists.txt index 1569aee..504e8ed 100644 --- a/whisper_cpp_vendor/CMakeLists.txt +++ b/whisper_cpp_vendor/CMakeLists.txt @@ -21,12 +21,23 @@ FetchContent_Declare( FetchContent_MakeAvailable(whisper) +####################################################################### # note that target properties need change as whisper.cpp CMake is buggy +####################################################################### set_target_properties( whisper PROPERTIES INTERFACE_INCLUDE_DIRECTORIES $ +) + +# install ggml header +install( + FILES ${whisper_SOURCE_DIR}/ggml.h + DESTINATION include ) +############## +# end of fixes +############## ament_export_targets(export_whisper HAS_LIBRARY_TARGET)