llvm.org GIT mirror llvm / dd70cd8
Don't define NDEBUG on MSVC_IDE and XCode builds. Fixes PR9155. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124985 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 8 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3232 endif()
3333 else()
3434 if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" )
35 add_definitions( -DNDEBUG )
35 if( NOT MSVC_IDE AND NOT XCODE )
36 add_definitions( -DNDEBUG )
37 endif()
3638 endif()
3739 endif()
3840