[CMake] Don't pass in MSVC warning flags as definitions.
authorGreg Bedwell <greg_bedwell@sn.scee.net>
Thu, 19 Mar 2015 16:32:47 +0000 (16:32 +0000)
committerGreg Bedwell <greg_bedwell@sn.scee.net>
Thu, 19 Mar 2015 16:32:47 +0000 (16:32 +0000)
commitc6e489793c880712bd56d503196d93f3502ff317
tree1be279a119b869702fed46f24efbd5c08eec6c27
parent8b4c9e18bbeb5e1c150e92bd54d8a9bd37424c2b
[CMake] Don't pass in MSVC warning flags as definitions.

NFC currently but required as a prerequisite for using
the Microsoft resource compiler in conjunction with
CMake's ninja generator, which knows how to filter flags
appropriately, but not definitions.

Differential Revision: http://reviews.llvm.org/D8188

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232727 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake