diff options
author | 2016-01-07 06:56:11 -0800 | |
---|---|---|
committer | 2016-01-07 06:56:12 -0800 | |
commit | 95bc09b666c7872386a4ec57e8147f474f5ad03a (patch) | |
tree | 5f882dc00ec79f4b4ab7df8288989a6a368f6fd8 /cmake | |
parent | ce2dfae8c58f6c043e50782468bc836d46060bf3 (diff) |
cmake: set SK_RELEASE to 0 if not a Release build
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1564853002
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot
Review URL: https://codereview.chromium.org/1564853002
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index adc41501bd..f732c08e26 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") |