[cmake] Avoid rel+asserts warnings when passing -UNDEBUG
authorReid Kleckner <reid@kleckner.net>
Sun, 7 Apr 2013 01:45:01 +0000 (01:45 +0000)
committerReid Kleckner <reid@kleckner.net>
Sun, 7 Apr 2013 01:45:01 +0000 (01:45 +0000)
commitc1c01d5313c123e9955888952b9c3fbb7c7fa1ac
tree00b95e435606489f82818cac7f67b2d41c5793d5
parentedaf66b056f6cb9fe08e43cc6d23f0dadb7060d6
[cmake] Avoid rel+asserts warnings when passing -UNDEBUG

MSVC 2012 gives warning D9025, "overriding /D NDEBUG with -UNDEBUG".
Removing the original definition of NDEBUG silences this.

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