From 5789cfb7804e57f70589f146de2f34c2becafc67 Mon Sep 17 00:00:00 2001
From: tbaudier <thomas.baudier@creatis.insa-lyon.fr>
Date: Fri, 10 Mar 2017 14:33:29 +0100
Subject: [PATCH] Add flag for clitk memory usage

---
 cmake/build_opt.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/build_opt.cmake b/cmake/build_opt.cmake
index 2331750..1ed1fa5 100644
--- a/cmake/build_opt.cmake
+++ b/cmake/build_opt.cmake
@@ -20,6 +20,8 @@ endif(BUILD_DOXYGEN)
 # Compilation options
 option(CLITK_EXPERIMENTAL "Enable experimental software and features" OFF)
 mark_as_advanced(CLITK_EXPERIMENTAL)
+option(CLITK_MEMORY_INFO "Enable memory info (need libstatgrab)" OFF)
+mark_as_advanced(CLITK_MEMORY_INFO)
 option(CLITK_BUILD_TOOLS "Build command-line tools" OFF)
 option(CLITK_BUILD_SEGMENTATION "Build command-line segmentation tools" OFF)
 option(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF)
-- 
2.49.0