From a93ccab8ae2b91856a4dc98eb1261216a4c1a0a7 Mon Sep 17 00:00:00 2001 From: Timothy Schoen <44585538+timothyschoen@users.noreply.github.com> Date: Sat, 7 May 2022 23:14:52 +0200 Subject: [PATCH] Release commit v0.5.1 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d4006f99..4d3b21c55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,7 +267,6 @@ if(UNIX AND NOT APPLE) ${PLUGDATA_COMPILE_DEFINITIONS} JUCE_MODAL_LOOPS_PERMITTED=1 JUCE_USE_XRENDER=1 - CURL_STATICLIB=1 ) target_link_libraries(PlugDataStandalone PUBLIC "-Wl,-export-dynamic") elseif(MSVC) @@ -319,13 +318,14 @@ set(libs PlugDataBinaryData juce::juce_audio_utils juce::juce_audio_plugin_client - curl ) if(MSVC) list(APPEND libs libpthreadVC3) elseif(APPLE) target_link_libraries(PlugDataMidi PRIVATE pd-multi ${libs}) +elseif(UNIX AND NOT APPLE) + list(APPEND libs curl) endif() target_link_libraries(PlugDataStandalone PRIVATE pd ${libs})