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:
0a205a4
)
CMake: Fixes previous change: CMAKE_BUILD_TYPE is unknown when
author
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 5 Jul 2009 23:58:20 +0000
(23:58 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 5 Jul 2009 23:58:20 +0000
(23:58 +0000)
generating project files for MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74809
91177308
-0d34-0410-b5e6-
96231b3b80d8
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 6abfa4f215e5a766c6d7f7740f543dd1d33d2680..2a59efb7715964482f02fa8070cffce4e8efd022 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-66,7
+66,7
@@
endif()
if( LLVM_ENABLE_ASSERTIONS )
# MSVC doesn't like _DEBUG on release builds. See PR 4379.
- if( NOT MSVC
OR NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE"
)
+ if( NOT MSVC )
add_definitions( -D_DEBUG )
endif()
# On Release builds cmake automatically defines NDEBUG, so we