diff options
author | click <click@gonnamakeyou.com> | 2012-03-25 17:14:08 +0200 |
---|---|---|
committer | click <click@gonnamakeyou.com> | 2012-03-25 17:14:08 +0200 |
commit | e2a92d4bbc1fd0033d368b2fc76a5d99760999a6 (patch) | |
tree | 69b048957bc788fb804a794ea2a3cad3da4d05fc /dep/CMakeLists.txt | |
parent | 4e6fce11122487bba265e3f34124312d6ea9fdac (diff) |
Buildsystem/CMake: Add the ability to avoid linking the core with jemalloc on linux through using the -DNOJEM parameter.
WARNING: This is a developer flag only, and as such NOT documented elsewhere - we need this for valgrind and related tools.
Again : YOU HAVE BEEN WARNED! DO NOT USE THIS FLAG UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
Diffstat (limited to 'dep/CMakeLists.txt')
-rw-r--r-- | dep/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index 9c13ad59bc5..d658ba43ffe 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -15,8 +15,8 @@ elseif( MSVC ) endif() if(CMAKE_SYSTEM_NAME MATCHES "Linux") - if(SERVERS) - add_subdirectory(jemalloc) + if(SERVERS AND NOT NOJEM) + add_subdirectory(jemalloc) endif() endif() |