]> granicus.if.org Git - clang/commit
[CMake] Check if passthrough variables are defined
authorChris Bieneman <beanz@apple.com>
Wed, 21 Sep 2016 23:24:15 +0000 (23:24 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 21 Sep 2016 23:24:15 +0000 (23:24 +0000)
commit1e04ce10186cd87da504c42b3dc463c69a3c4a78
treeaccb63ee3cbd5dbbf10e8055f6a350626e1ad958
parent29d34c9a97824b10717654a125810ecb10b90305
[CMake] Check if passthrough variables are defined

Checking if they evaluate to true cases prevents passing values that evaluate to false cases. Instead we should check if the variables are defined.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282122 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt