summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-04-29 20:31:35 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-04-29 20:31:35 -0400
commita5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d (patch)
treea051a457be2b1a8ce2f1f433ff801135e632d06d /CMakeLists.txt
parentb1326b20ff66be47b7d27259f466235ecba08287 (diff)
parent012b8329e5776a0161c194daf31a6e1c2d15cf62 (diff)
downloadabaddon-portaudio-a5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d.tar.gz
abaddon-portaudio-a5d74e0a8907a0b617f8c64fccd14a8a8d87bb1d.zip
Merge branch 'master' into voice
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
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)