File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -996,8 +996,13 @@ function(dpf__add_plugin_specific_ui_sources NAME USE_WEB_VIEW)
996
996
elseif (WIN32 AND USE_WEB_VIEW )
997
997
target_sources ("${NAME} " PRIVATE
998
998
"${DPF_ROOT_DIR} /distrho/DistrhoUI_win32.cpp" )
999
- set_source_files_properties ("${DPF_ROOT_DIR} /distrho/DistrhoUI_win32.cpp"
1000
- PROPERTIES COMPILE_FLAGS -std=gnu++17 )
999
+ if (MSVC )
1000
+ set_source_files_properties ("${DPF_ROOT_DIR} /distrho/DistrhoUI_win32.cpp"
1001
+ PROPERTIES COMPILE_FLAGS /std:c++17 )
1002
+ else ()
1003
+ set_source_files_properties ("${DPF_ROOT_DIR} /distrho/DistrhoUI_win32.cpp"
1004
+ PROPERTIES COMPILE_FLAGS -std=gnu++17 )
1005
+ endif ()
1001
1006
endif ()
1002
1007
endfunction ()
1003
1008
Original file line number Diff line number Diff line change 24
24
25
25
START_NAMESPACE_DISTRHO
26
26
27
- struct WebView ;
27
+ class WebView ;
28
28
29
29
WebView* webview_choc_create (const WebViewOptions& opts);
30
30
void webview_choc_destroy (WebView*);
You can’t perform that action at this time.
0 commit comments