fix some possible compilation errors on macOS arm64

This commit is contained in:
Armin 2026-08-15 12:28:58 +02:00
commit 482d5c3cbd

View file

@ -77,6 +77,11 @@ target_link_libraries(Mindball PRIVATE
# migration warning is irrelevant.
target_compile_definitions(Mindball PRIVATE JUCE_IGNORE_VST3_MISMATCHED_PARAMETER_ID_WARNING)
# JUCE 8 defaults JUCE_VST3_CAN_REPLACE_VST2 to 1, which compiles VST2-style
# class IDs into the plugin while the generated moduleinfo.json uses the modern
# IDs, so hosts cannot match the class and fail to load the plugin.
target_compile_definitions(Mindball PRIVATE JUCE_VST3_CAN_REPLACE_VST2=0)
# juce_core enables libcurl by default on Linux; without NEEDS_CURL the JUCE
# helper targets don't link -lcurl, so that would fail at link time with
# undefined references to curl_easy_setopt. We use no network features, so