projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c093062
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222082
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index b178ad1d027b0b459889dca35603dbe1febed41e..87c3b8501422c5d34e5497099d6dba20f8899523 100644
(file)
--- 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)