Skip to content

Commit

Permalink
fix: Enable WebView 2
Browse files Browse the repository at this point in the history
  • Loading branch information
greynewell committed Sep 25, 2024
1 parent 07c22a4 commit e5746fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ juce_add_plugin(musegpt
PLUGIN_CODE Muse
FORMATS AAX AU AUv3 VST3 Standalone
PRODUCT_NAME "musegpt"
COPY_PLUGIN_AFTER_BUILD TRUE)
COPY_PLUGIN_AFTER_BUILD TRUE
NEEDS_WEBVIEW2 TRUE)
juce_generate_juce_header(musegpt)

target_sources(musegpt
Expand All @@ -24,6 +25,7 @@ target_compile_definitions(musegpt
JUCE_LOGGING=1 # Enable logging
JUCE_STRICT_REFCOUNTEDPOINTER=1
JUCE_WEB_BROWSER=1
JUCE_USE_WIN_WEBVIEW2_WITH_STATIC_LINKING=1
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0)

Expand Down

0 comments on commit e5746fd

Please sign in to comment.