cefclient: osr: Fix compile errors with binary distribution (see #2575)

This commit is contained in:
Marshall Greenblatt 2024-04-27 12:34:46 -04:00
parent be6642df3f
commit c0e7854782
2 changed files with 4 additions and 3 deletions

View File

@ -304,8 +304,9 @@ if(OS_MAC)
# Standard libraries.
set(CEF_STANDARD_LIBS
-lpthread
"-framework Cocoa"
"-framework AppKit"
"-framework Cocoa"
"-framework IOSurface"
)
# Find the newest available base SDK.

View File

@ -4,7 +4,7 @@
#include "tests/cefclient/browser/osr_renderer.h"
#if !defined(OS_WIN)
#if defined(__clang__)
// Begin disable NSOpenGL deprecation warnings.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@ -1092,7 +1092,7 @@ void OsrRenderer::IncrementSpin(float spinDX, float spinDY) {
} // namespace client
#if !defined(OS_WIN)
#if defined(__clang__)
// End disable NSOpenGL deprecation warnings.
#pragma clang diagnostic pop
#endif