Index: cmake/CMakeLists.txt |
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt |
index b375e59f453731ef58a1fc70ad12f04c0f58729f..dfdfb350b54c331f00c11186a1851a3dfee5cfc7 100644 |
--- a/cmake/CMakeLists.txt |
+++ b/cmake/CMakeLists.txt |
@@ -292,6 +292,11 @@ if (CMAKE_BUILD_TYPE STREQUAL Release) |
else() |
set (SK_RELEASE 0) |
endif() |
+if (UNIX AND NOT APPLE) |
+ set (SK_SAMPLES_FOR_X 1) |
+else() |
+ set (SK_SAMPLES_FOR_X 0) |
+endif() |
configure_file ("SkUserConfig.h.in" "${userconfig_directory}/SkUserConfig.h") |
# skia_link_arguments.txt |