disable JUCE_USE_CURL to fix Linux link (undefined curl_* symbols)

This commit is contained in:
Armin 2026-10-01 00:48:33 +02:00
commit bc6cea9662
2 changed files with 14 additions and 9 deletions

View file

@ -68,11 +68,15 @@ endif()
add_subdirectory(${JUCE_ROOT} juce)
# RMX-19 has no web view. juce_audio_processors depends on juce_gui_extra, whose
# Linux source includes <gtk/gtk.h> and the WebKit headers unless the browser
# component is switched off. Disabling it keeps the Linux build free of GTK and
# WebKit (and of native file-chooser dialogs, which this plug-in never uses).
add_compile_definitions(JUCE_WEB_BROWSER=0)
# RMX-19 has no web UI and does no networking.
# - JUCE_WEB_BROWSER=0: juce_audio_processors depends on juce_gui_extra, whose
# Linux source includes <gtk/gtk.h> and the WebKit headers unless the browser
# component is switched off. This keeps the Linux build free of GTK/WebKit
# (and of native file-chooser dialogs, which this plug-in never uses).
# - JUCE_USE_CURL=0: juce_core otherwise compiles libcurl-backed code, which
# fails to link on Linux (curl_* undefined) unless libcurl is linked in.
# JUCE falls back to its own socket-based implementation.
add_compile_definitions(JUCE_WEB_BROWSER=0 JUCE_USE_CURL=0)
# AU is only buildable on Apple; on Linux (and everywhere else) ship VST3.
if(APPLE)