projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6572489
)
Provide missing definition of uppercase_CMAKE_BUILD_TYPE in HandleLLVMOptions module
author
Eric Fiselier
<eric@efcs.ca>
Sat, 15 Nov 2014 07:45:31 +0000
(07:45 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Sat, 15 Nov 2014 07:45:31 +0000
(07:45 +0000)
llvm-svn: 222082
llvm/cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/llvm/cmake/modules/HandleLLVMOptions.cmake
b/llvm/cmake/modules/HandleLLVMOptions.cmake
index
b178ad1
..
87c3b85
100644
(file)
--- a/
llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/
llvm/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)