mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Projucer: Avoid enabling legacy coroutine support for projects that depend on Windows MIDI Services
A dependency on CppWinRT will add the /await flag to our command line flags unless we explicitly opt-out. /await is deprecated in Visual Studio 2026.
This commit is contained in:
parent
3f5cf5ec70
commit
d2b9952f7a
1 changed files with 3 additions and 0 deletions
|
|
@ -922,6 +922,9 @@ public:
|
|||
auto* globals = projectXml.createNewChildElement ("PropertyGroup");
|
||||
globals->setAttribute ("Label", "Globals");
|
||||
globals->createNewChildElement ("ProjectGuid")->addTextElement (getProjectGuid());
|
||||
|
||||
if (owner.shouldAddMidiPackage())
|
||||
globals->createNewChildElement ("CppWinRTEnableLegacyCoroutines")->addTextElement ("false");
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue