diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2009-07-05 23:58:20 +0000 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-07-05 23:58:20 +0000 |
| commit | f7ccc7f14e55d8e39a429682509d407c9d6eb210 (patch) | |
| tree | d42e75e51ba30488782b1dc0032312f6b479cc33 | |
| parent | a09d234e773549eaf50a8b724dfd7c6471b58e98 (diff) | |
| download | external_llvm-f7ccc7f14e55d8e39a429682509d407c9d6eb210.zip external_llvm-f7ccc7f14e55d8e39a429682509d407c9d6eb210.tar.gz external_llvm-f7ccc7f14e55d8e39a429682509d407c9d6eb210.tar.bz2 | |
CMake: Fixes previous change: CMAKE_BUILD_TYPE is unknown when
generating project files for MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74809 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6abfa4f..2a59efb 100644 --- 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 |
