aboutsummaryrefslogtreecommitdiff
path: root/dep/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dep/CMakeLists.txt')
-rw-r--r--dep/CMakeLists.txt4
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()