From fdc364084ba515749704b3542c764a6e37cc1bfb Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Mon, 16 Sep 2013 17:45:21 -0500 Subject: [PATCH] Fix cmake warning about ENABLE_PERFTOOLS not being used --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f64f304b8..1c427188ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,9 +153,10 @@ if (NOT DISABLE_ELASTICSEARCH AND LIBCURL_FOUND) list(APPEND OPTLIBS ${LibCURL_LIBRARIES}) endif() -if (ENABLE_PERFTOOLS_DEBUG) +if (ENABLE_PERFTOOLS_DEBUG OR ENABLE_PERFTOOLS) # Just a no op to prevent CMake from complaining about manually-specified - # ENABLE_PERFTOOLS_DEBUG not being used if google perftools weren't found + # ENABLE_PERFTOOLS_DEBUG or ENABLE_PERFTOOLS not being used if google + # perftools weren't found endif () set(brodeps