Skip to content

Commit

Permalink
Exclude CUDA DLLs from installation in BuildWhispercpp.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Nov 13, 2024
1 parent 6a49ad8 commit 7aabf07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/BuildWhispercpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ elseif(WIN32)

# glob all dlls in the bin directory and install them
file(GLOB WHISPER_ADDITIONAL_FILES ${whispercpp_fetch_SOURCE_DIR}/bin/*.dll)
list(FILTER WHISPER_ADDITIONAL_FILES EXCLUDE REGEX "^.*/cu.*\\.dll$")
else()
if(${CMAKE_BUILD_TYPE} STREQUAL Release OR ${CMAKE_BUILD_TYPE} STREQUAL
RelWithDebInfo)
Expand Down

0 comments on commit 7aabf07

Please sign in to comment.