diff --git a/CMakeLists.txt b/CMakeLists.txt index b5ce8d5..d5ae9eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 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 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) diff --git a/README.md b/README.md index addd353..6875621 100644 --- a/README.md +++ b/README.md @@ -217,10 +217,11 @@ Linux: - CMake ≥ 3.22, a C++17 compiler (GCC or Clang), `git`, `pkg-config` - Development packages used by JUCE (Debian/Ubuntu): `libasound2-dev libx11-dev libxext-dev libxinerama-dev libxrandr-dev` - `libxcursor-dev libxcomposite-dev libfreetype6-dev libfontconfig1-dev - libcurl4-openssl-dev libgl1-mesa-dev` -- No GTK/WebKit packages are needed: the plug-in does not use the web browser, - native file-chooser dialogs, or ``. + `libxcursor-dev libxcomposite-dev libfreetype6-dev libfontconfig1-dev` + `libgl1-mesa-dev` +- No GTK/WebKit or libcurl packages are needed: the plug-in does not use the web + browser, native file-chooser dialogs, ``, or networking + (`JUCE_WEB_BROWSER=0`, `JUCE_USE_CURL=0`). The build fetches **JUCE 8.0.4** automatically into `build/JUCE` on first configure - no manual JUCE setup is required.