[CMake] Don't pass in MSVC warning flags as definitions
authorGreg Bedwell <greg_bedwell@sn.scee.net>
Wed, 11 Mar 2015 14:26:29 +0000 (14:26 +0000)
committerGreg Bedwell <greg_bedwell@sn.scee.net>
Wed, 11 Mar 2015 14:26:29 +0000 (14:26 +0000)
commit264d962191fd2dca891cb80c4a0fddfb22f15d78
tree9e57bbace500efd4ba468afcd0b775d61758196d
parent410ba460a0b1842185081aa5606c2ec14c5efb05
[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@231924 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake