[CMake] Disable -Werror for CMake checks
authorPetr Hosek <phosek@chromium.org>
Wed, 26 Jul 2017 23:49:18 +0000 (23:49 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 26 Jul 2017 23:49:18 +0000 (23:49 +0000)
commitb88afb3fbd26327947a9eaf793b9ab0d4dc568a5
tree0a201c93fba916f763ba24cf10695f8745c0d08f
parentbe28c2e4a5e6622fb3356e79a74d27ac0c0450d1
[CMake] Disable -Werror for CMake checks

-Werror may cause some of the CMake checks to fail, so we disable
it even if it's enabled for the build itself.

Differential Revision: https://reviews.llvm.org/D35924

llvm-svn: 309235
llvm/cmake/modules/HandleLLVMOptions.cmake