Skip to content

Commit

Permalink
[cmake] Always bundle rubberband statically
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 12, 2024
1 parent fad429e commit 19abefe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/deps/rubberband.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ if(OSSIA_USE_SYSTEM_LIBRARIES)
endif()

if(NOT TARGET rubberband)
add_subdirectory("${OSSIA_3RDPARTY_FOLDER}/rubberband" EXCLUDE_FROM_ALL)
block()
set(BUILD_SHARED_LIBS 0)
add_subdirectory("${OSSIA_3RDPARTY_FOLDER}/rubberband" EXCLUDE_FROM_ALL)
endblock()
endif()

0 comments on commit 19abefe

Please sign in to comment.