mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed an error when setting the macOS SDK to the current version
This commit is contained in:
parent
88fecd196e
commit
f58fe19815
1 changed files with 2 additions and 2 deletions
|
|
@ -1895,7 +1895,7 @@ public:
|
|||
{
|
||||
auto minVersion = (type == Target::AudioUnitv3PlugIn ? minimumAUv3SDKVersion : oldestDeploymentTarget);
|
||||
|
||||
for (int v = minVersion; v < currentSDKVersion; ++v)
|
||||
for (int v = minVersion; v <= currentSDKVersion; ++v)
|
||||
if (deploymentTarget == getSDKDisplayName (v))
|
||||
return getVersionName (v);
|
||||
|
||||
|
|
@ -1904,7 +1904,7 @@ public:
|
|||
|
||||
String getOSXSDKVersion (const String& sdkVersion) const
|
||||
{
|
||||
for (int v = oldestSDKVersion; v < currentSDKVersion; ++v)
|
||||
for (int v = oldestSDKVersion; v <= currentSDKVersion; ++v)
|
||||
if (sdkVersion == getSDKDisplayName (v))
|
||||
return getSDKRootName (v);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue