From e82e4d7628fe962a3df4bbecff0120bee7d39c31 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 23 Aug 2024 08:09:50 -0400 Subject: [PATCH] Exclude rtaudio and rtmidi from cmake unity builds also (#299) rtmidi doesn't work. rtaudio did on mac but i'm not sure from looking at it it always will, so knock it out also --- cmake/base_sdks.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/base_sdks.cmake b/cmake/base_sdks.cmake index aba86408..f538ca64 100644 --- a/cmake/base_sdks.cmake +++ b/cmake/base_sdks.cmake @@ -280,6 +280,7 @@ function(guarantee_rtaudio) add_subdirectory(${RTAUDIO_SDK_ROOT} base-sdk-rtaudio EXCLUDE_FROM_ALL) add_library(base-sdk-rtaudio INTERFACE) target_link_libraries(base-sdk-rtaudio INTERFACE rtaudio) + set_target_properties(rtaudio PROPERTIES UNITY_BUILD FALSE) endfunction(guarantee_rtaudio) @@ -322,6 +323,8 @@ function(guarantee_rtmidi) add_subdirectory(${RTMIDI_SDK_ROOT} base-sdk-rtmidi EXCLUDE_FROM_ALL) add_library(base-sdk-rtmidi INTERFACE) target_link_libraries(base-sdk-rtmidi INTERFACE rtmidi) + + set_target_properties(rtmidi PROPERTIES UNITY_BUILD FALSE) endfunction(guarantee_rtmidi) function(guarantee_wil)