File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-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)
996996 elseif (WIN32 AND USE_WEB_VIEW)
997997 target_sources ("${NAME} " PRIVATE
998998 "${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 ()
10011006 endif ()
10021007endfunction ()
10031008
Original file line number Diff line number Diff line change 2424
2525START_NAMESPACE_DISTRHO
2626
27- struct WebView ;
27+ class WebView ;
2828
2929WebView* webview_choc_create (const WebViewOptions& opts);
3030void webview_choc_destroy (WebView*);
Original file line number Diff line number Diff line change 1919#endif
2020
2121#include " ../extra/String.hpp"
22+ #include " ../DistrhoPluginUtils.hpp"
2223#include " ../DistrhoStandaloneUtils.hpp"
2324
2425#ifdef DISTRHO_OS_WINDOWS
You can’t perform that action at this time.
0 commit comments