diff --git a/cmake/deps/rubberband.cmake b/cmake/deps/rubberband.cmake index 5cc2afa7571..84aa7e8bbf6 100644 --- a/cmake/deps/rubberband.cmake +++ b/cmake/deps/rubberband.cmake @@ -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()