aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform/unix
diff options
context:
space:
mode:
authorclick <none@none>2010-12-18 01:36:00 +0100
committerclick <none@none>2010-12-18 01:36:00 +0100
commit0054bd83d8bc5f773f2df3a1985b4651a2097ce8 (patch)
tree10c04892315fe5ccf7d3eb763e9c4ba4c2fd6678 /cmake/platform/unix
parent4a067d5095f4593ee1df8e4e16565ee6f213c9b8 (diff)
Buildsystem/Linux: Fix linking of a long lost little child : jemalloc (yes, it has returned, and is now actively linked again)
--HG-- branch : trunk
Diffstat (limited to 'cmake/platform/unix')
-rw-r--r--cmake/platform/unix/settings.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake
index 27c370c740e..81f438befc9 100644
--- a/cmake/platform/unix/settings.cmake
+++ b/cmake/platform/unix/settings.cmake
@@ -1,3 +1,8 @@
+# Package overloads - Linux
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ set(JEMALLOC_LIBRARY "jemalloc")
+endif()
+
# set default configuration directory
if( NOT CONF_DIR )
set(CONF_DIR ${CMAKE_INSTALL_PREFIX}/etc)