From 2aa22005f11e8b50d5dd5332e9e59104c1996b4c Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 6 Dec 2024 11:32:12 -0500 Subject: [PATCH] add CMake switch for GPerfTools --- cmake/FindGooglePerfTools.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/FindGooglePerfTools.cmake b/cmake/FindGooglePerfTools.cmake index f73f449ec..4af268528 100644 --- a/cmake/FindGooglePerfTools.cmake +++ b/cmake/FindGooglePerfTools.cmake @@ -36,3 +36,5 @@ MARK_AS_ADVANCED( GPERFTOOLS_TCMALLOC GPERFTOOLS_PROFILER ) + +option(GTSAM_ENABLE_GPERFTOOLS "Enable/Disable Gperftools" OFF)