diff options
author | Vladislav Vaintroub <wlad@sun.com> | 2010-01-21 12:37:22 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@sun.com> | 2010-01-21 12:37:22 +0000 |
commit | 4acc380f15ec1ec51a96e748b8c2261ed61afa15 (patch) | |
tree | 4cae013b448a856157e2a456f9708f915892e85b /CMakeLists.txt | |
parent | e4687956c10cdf73d00f34e07a59d84603bf4500 (diff) | |
download | mariadb-git-4acc380f15ec1ec51a96e748b8c2261ed61afa15.tar.gz |
restore lost -g when WITH_DEBUG was specified
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d2f33bf6571..752e66ae746 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,9 +147,11 @@ ENDIF() IF(WITH_DEBUG OR WITH_DEBUG_FULL AND NOT WIN32) FOREACH(LANG C CXX) IF(WITH_DEBUG_FULL) - SET(CMAKE_${LANG}_FLAGS_DEBUG "-DSAFEMALLOC -DSAFE_MUTEX") + SET(CMAKE_${LANG}_FLAGS_DEBUG + "${CMAKE_${LANG}_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") ELSE() - SET(CMAKE_${LANG}_FLAGS_DEBUG "-DSAFE_MUTEX") + SET(CMAKE_${LANG}_FLAGS_DEBUG + "${CMAKE_${LANG}_FLAGS_DEBUG} -DSAFE_MUTEX") ENDIF() ENDFOREACH() ENDIF() |