diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-06-02 20:32:26 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-06-02 20:32:26 -0400 |
commit | 5b9d10a897f0e61f85ca4b2b70e95591a27eb81e (patch) | |
tree | 9d029ec20c2b2e8c315427c3442ebc382b9ab58e /CMakeLists.txt | |
parent | 8ab9828f6fc2d82f1b33645a6c92963b382dda9a (diff) | |
download | abaddon-portaudio-5b9d10a897f0e61f85ca4b2b70e95591a27eb81e.tar.gz abaddon-portaudio-5b9d10a897f0e61f85ca4b2b70e95591a27eb81e.zip |
fix linking curl maybe somehow i guess
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 99cc9ef..526c8c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ endif () if (NOT (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) target_precompile_headers(abaddon PRIVATE <gtkmm.h> src/abaddon.hpp src/util.hpp) -endif() +endif () if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND @@ -115,11 +115,12 @@ target_link_libraries(abaddon spdlog::spdlog) target_link_libraries(abaddon ${SQLite3_LIBRARIES}) 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}) +target_link_libraries(abaddon CURL::libcurl) + include(CheckAtomic) if (NOT HAVE_CXX_ATOMICS_WITHOUT_LIB OR NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB) target_link_libraries(abaddon atomic) |