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 | c296b89d512cd03bf94c786f64c60922dfca9baa (patch) | |
| tree | 8a0dd41973c104afdff80f8954d1d2b8c025da16 /llvm | |
| parent | c131d3b5a2991197a157f7dd53745ec757b8e288 (diff) | |
| download | bcm5719-llvm-c296b89d512cd03bf94c786f64c60922dfca9baa.tar.gz bcm5719-llvm-c296b89d512cd03bf94c786f64c60922dfca9baa.zip | |
CMake: Fixes previous change: CMAKE_BUILD_TYPE is unknown when
generating project files for MSVC.
llvm-svn: 74809
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 6abfa4f215e..2a59efb7715 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/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 |

