commit | 91d509f4fc0997a792fd0ab2ad869d9cbfbc082e | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Sat Aug 08 21:04:45 2015 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Sat Aug 08 21:04:45 2015 +0000 |
tree | ef240bfe4e5cda412ab2071d7e0614f09e6bf48e | |
parent | c19de56ad9108a6c967eb7fd07237a3aae207fc5 [diff] |
cmake: Error on invalid CMAKE_BUILD_TYPE Apparently if you make a typo in the argument to CMAKE_BUILD_TYPE, cmake silently accepts this but doesn't apply any particular build type to your build. This means you get a build that doesn't really make any sense - it's sort of a debug build with asserts disabled. Error out instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244406 91177308-0d34-0410-b5e6-96231b3b80d8