mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: osr: Fix compile errors with binary distribution (see #2575)
This commit is contained in:
@@ -304,8 +304,9 @@ if(OS_MAC)
|
|||||||
# Standard libraries.
|
# Standard libraries.
|
||||||
set(CEF_STANDARD_LIBS
|
set(CEF_STANDARD_LIBS
|
||||||
-lpthread
|
-lpthread
|
||||||
"-framework Cocoa"
|
|
||||||
"-framework AppKit"
|
"-framework AppKit"
|
||||||
|
"-framework Cocoa"
|
||||||
|
"-framework IOSurface"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Find the newest available base SDK.
|
# Find the newest available base SDK.
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "tests/cefclient/browser/osr_renderer.h"
|
#include "tests/cefclient/browser/osr_renderer.h"
|
||||||
|
|
||||||
#if !defined(OS_WIN)
|
#if defined(__clang__)
|
||||||
// Begin disable NSOpenGL deprecation warnings.
|
// Begin disable NSOpenGL deprecation warnings.
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
@@ -1092,7 +1092,7 @@ void OsrRenderer::IncrementSpin(float spinDX, float spinDY) {
|
|||||||
|
|
||||||
} // namespace client
|
} // namespace client
|
||||||
|
|
||||||
#if !defined(OS_WIN)
|
#if defined(__clang__)
|
||||||
// End disable NSOpenGL deprecation warnings.
|
// End disable NSOpenGL deprecation warnings.
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user