]> granicus.if.org Git - clang/commit
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)
commitbe565cb9c51f4403ed78e7e8f05a060db9391abf
tree5235b61b1e81b7bff2bb9d2e67ca726a495a03d9
parenta82a9c0cfcfbf30612f58d97a63e8698fe0dd088
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198750 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
test/lit.site.cfg.in