Index: cmake/CMakeLists.txt |
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt |
index e5c8a35e68d7b27b9325bc68e60183c0dfdcaec1..f0b0e31d91f7b9dce003af441f647cd9190bd7a5 100644 |
--- a/cmake/CMakeLists.txt |
+++ b/cmake/CMakeLists.txt |
@@ -105,6 +105,10 @@ remove_srcs( |
../src/ports/SkImageGenerator_none.cpp |
../src/ports/SkTLS_none.cpp) |
+if (NOT APPLE) |
+ remove_srcs(../src/ports/SkImageGeneratorCG.cpp) |
+endif() |
+ |
if (WIN32) |
if(SKIA_GDI) |
remove_srcs(../src/ports/SkFontMgr_win_dw_factory.cpp) |