Index: cmake/CMakeLists.txt |
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt |
index adc41501bd14eacd9442b78ec8a9744182c32bbb..f732c08e26cfa651603dc2ae502299be02cd29a5 100644 |
--- a/cmake/CMakeLists.txt |
+++ b/cmake/CMakeLists.txt |
@@ -264,6 +264,8 @@ install(TARGETS skia DESTINATION lib) |
# SkUserConfig.h |
if (CMAKE_BUILD_TYPE STREQUAL Release) |
set (SK_RELEASE 1) |
+else() |
+ set (SK_RELEASE 0) |
endif() |
configure_file ("SkUserConfig.h.in" "${userconfig_directory}/SkUserConfig.h") |