cefclient: osr: Fix compile errors with binary distribution (see #2575)
This commit is contained in:
parent
be6642df3f
commit
c0e7854782
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue