[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)
commit8aa3000d24a8d9c4f098994f5a920f0559f125a3
treeb54e9795e629d15e902323f41b3afb2506503ae8
parent845e32cd4df74b48c3c02e991d0ebf4140783a9a
[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

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