diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-05-21 01:51:21 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-05-21 01:51:21 -0400 |
commit | a4856a5378507bc5d32c86d638a7175c29bf4301 (patch) | |
tree | 65af74d11508258ae1ce6460a2393ac0d2e3b757 /CMakeLists.txt | |
parent | 72975d8517c7d3230faffe4a3ee030da5d594f8e (diff) | |
parent | cba2f6c66ef27c992072afa79ebaae541814506b (diff) | |
download | abaddon-portaudio-a4856a5378507bc5d32c86d638a7175c29bf4301.tar.gz abaddon-portaudio-a4856a5378507bc5d32c86d638a7175c29bf4301.zip |
Merge branch 'master' of https://github.com/uowuo/abaddon
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 236dbd2..99cc9ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,9 @@ if (ENABLE_QRCODE_LOGIN) target_compile_definitions(abaddon PRIVATE WITH_QRLOGIN) endif () -target_precompile_headers(abaddon PRIVATE <gtkmm.h> src/abaddon.hpp src/util.hpp) +if (NOT (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) + target_precompile_headers(abaddon PRIVATE <gtkmm.h> src/abaddon.hpp src/util.hpp) +endif() if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND @@ -146,6 +148,7 @@ if (APPLE) target_link_libraries(abaddon "-framework CoreFoundation") target_link_libraries(abaddon "-framework CoreAudio") target_link_libraries(abaddon "-framework AudioToolbox") + target_link_libraries(abaddon "-framework AudioUnit") endif () if (ENABLE_VOICE) |