diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-29 20:31:35 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-29 20:31:35 -0400 |
commit | a5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d (patch) | |
tree | a051a457be2b1a8ce2f1f433ff801135e632d06d /CMakeLists.txt | |
parent | b1326b20ff66be47b7d27259f466235ecba08287 (diff) | |
parent | 012b8329e5776a0161c194daf31a6e1c2d15cf62 (diff) | |
download | abaddon-portaudio-a5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d.tar.gz abaddon-portaudio-a5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d.zip |
Merge branch 'master' into voice
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c8a770a..5482a82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,12 @@ target_link_libraries(abaddon ${GTKMM_LIBRARIES}) target_link_libraries(abaddon ${CURL_LIBRARIES}) target_link_libraries(abaddon ${ZLIB_LIBRARY}) target_link_libraries(abaddon ${NLOHMANN_JSON_LIBRARIES}) +target_link_libraries(abaddon ${CMAKE_DL_LIBS}) + +include(CheckAtomic) +if (NOT HAVE_CXX_ATOMICS_WITHOUT_LIB OR NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB) + target_link_libraries(abaddon atomic) +endif () if (USE_LIBHANDY) find_package(libhandy REQUIRED) |