Closed mark0n closed 7 years ago
I find several references, and my own experience, to say that CMAKE_BUILD_TYPE should be treated as case-insensitive. So the proper fix is to use string(TOUPPER ...)
prior to the comparisons.
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150810/292471.html
String comparison in CMake is case sensitive so this needs to be aligned with the conventions or other CMake modules might fail.
See the CMake documentation for a description of the allowed values.