diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-11-15 07:45:31 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-11-15 07:45:31 +0000 |
commit | 96c8ba61cb135274da1f6f4a5c71c7638d97f668 (patch) | |
tree | a49d2d089e847cd0525ffead626b8cdf25804900 /cmake | |
parent | c093062447591991e3eacedaa111bb04b0f89fcb (diff) |
Provide missing definition of uppercase_CMAKE_BUILD_TYPE in HandleLLVMOptions module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/HandleLLVMOptions.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index b178ad1d027..87c3b850142 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -2,6 +2,10 @@ # options and executing the appropriate CMake commands to realize the users' # selections. +# This is commonly needed so make sure it's defined before we include anything +# else. +string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) + include(HandleLLVMStdlib) include(AddLLVMDefinitions) include(CheckCCompilerFlag) |