Build fix following r198747
authorAlp Toker <alp@nuanti.com>
Wed, 8 Jan 2014 11:55:49 +0000 (11:55 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 8 Jan 2014 11:55:49 +0000 (11:55 +0000)
commit70ff5d7378014a382a241b7649f1c4083325631a
treea2ca3f5030801ded87e97a402cfc355daa5e7efa
parent4daaa8e8f2f18f8b4530aa7cb0108092e4c11638
Build fix following r198747

Convert CMake CLANG_BUILD_EXAMPLES to a boolean value for consumption by
Python, otherwise the raw config string gets passed through which may not be
0/1.

The if/else matches the technique used to solve the problem in LLVM's own
CMakeLists.txt.

llvm-svn: 198750
clang/CMakeLists.txt
clang/test/lit.site.cfg.in