summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-06-22 01:13:05 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-06-22 01:13:05 -0400
commit686d79eca62bbf9b3da22eb170bdc6bb82622370 (patch)
tree23385c3c3f459bfca24891eac94ad7bcce84de16 /CMakeLists.txt
parent85bc7b95f76cbc27e414c9f9182e51052b259b20 (diff)
parent2a0305e93d8bbf636802ed8235b136c85c789a5a (diff)
downloadabaddon-portaudio-686d79eca62bbf9b3da22eb170bdc6bb82622370.tar.gz
abaddon-portaudio-686d79eca62bbf9b3da22eb170bdc6bb82622370.zip
Merge branch 'master' of https://github.com/uowuo/abaddon
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4fdf7a..de97c32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,6 +150,13 @@ if (ENABLE_VOICE)
target_link_libraries(abaddon PkgConfig::libsodium)
target_link_libraries(abaddon ${CMAKE_DL_LIBS})
+
+ if(APPLE)
+ target_link_libraries(abaddon "-framework CoreFoundation")
+ target_link_libraries(abaddon "-framework CoreAudio")
+ target_link_libraries(abaddon "-framework AudioToolbox")
+ endif()
+
endif ()
if (${ENABLE_NOTIFICATION_SOUNDS})