summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-03-11 02:49:48 +0100
committerYehonal <yehonal.azeroth@gmail.com>2017-03-26 01:09:42 +0100
commitb522a0cb7206b58af9e91a0408dbf0d794eef606 (patch)
treee51bd1834a29000070976bfaa1180cd34a13ac3a /CMakeLists.txt
parent693dc56bf1e6dae7ce988913e20f5ea1f8e5902d (diff)
Implemented gperftools support
it allows you to profile cpu/memory under unix systems
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 02568ba10e..21be37be1e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,11 @@ if( UNIX )
find_package(Readline)
find_package(ZLIB)
find_package(BZip2)
+
+ if ( WITH_PERFTOOLS )
+ find_package(Gperftools)
+ endif()
+
endif()
if(NOT WITHOUT_GIT)