From 19abefeaee02b4a2820fda3ee20127117663a75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 12 Nov 2024 07:37:03 -0500 Subject: [PATCH] [cmake] Always bundle rubberband statically --- cmake/deps/rubberband.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()