fix crash in linux vst

This commit is contained in:
Boof2015
2026-06-02 17:04:30 -04:00
parent 54fcefb9de
commit 9e9569fcac
+6
View File
@@ -140,6 +140,12 @@ function(add_prism_scope TARGET PRODUCT PLUGIN_CODE SCOPE_DEFINE)
# is even opened, which is fragile when hosts carry their own GLib stack.
target_include_directories(${TARGET} PRIVATE ${PRISM_LINUX_WEBVIEW_DEPS_INCLUDE_DIRS})
target_compile_options(${TARGET} PRIVATE ${PRISM_LINUX_WEBVIEW_DEPS_CFLAGS_OTHER})
# In plugin hosts, JUCE's Linux WebBrowserComponent must exec a helper
# process for WebKitGTK. Without this, JUCE falls back to running WebKit
# directly after fork(), which is unsafe in multi-threaded hosts and has
# crashed during pluginval/DAW editor creation.
juce_link_with_embedded_linux_subprocess(${TARGET})
endif()
endfunction()