mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Suppress warnings about using the OpenGL framework when using the new build system
This commit is contained in:
parent
1fbde8c505
commit
6e6f866458
1 changed files with 13 additions and 0 deletions
|
|
@ -1398,6 +1398,19 @@ public:
|
|||
s.set ("HEADER_SEARCH_PATHS", indentParenthesisedList (headerPaths, 1));
|
||||
s.set ("USE_HEADERMAP", String (static_cast<bool> (config.exporter.settings.getProperty ("useHeaderMap")) ? "YES" : "NO"));
|
||||
|
||||
auto frameworksToSkip = [this]() -> String
|
||||
{
|
||||
const String openGLFramework (owner.iOS ? "OpenGLES" : "OpenGL");
|
||||
|
||||
if (owner.xcodeFrameworks.contains (openGLFramework))
|
||||
return openGLFramework;
|
||||
|
||||
return {};
|
||||
}();
|
||||
|
||||
if (frameworksToSkip.isNotEmpty())
|
||||
s.set ("VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS", frameworksToSkip);
|
||||
|
||||
auto frameworkSearchPaths = getFrameworkSearchPaths (config);
|
||||
|
||||
if (! frameworkSearchPaths.isEmpty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue