build MAINTENANCE rename callgrind include dir var
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f829aa..eccfe25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -252,7 +252,7 @@
endif()
if(ENABLE_PERF_TESTS)
- find_path(CALLGRIND_INCLUDE_DIR
+ find_path(VALGRIND_INCLUDE_DIR
NAMES
valgrind/callgrind.h
PATHS
@@ -262,10 +262,10 @@
/sw/include
${CMAKE_INCLUDE_PATH}
${CMAKE_INSTALL_PREFIX}/include)
- if(CALLGRIND_INCLUDE_DIR)
+ if(VALGRIND_INCLUDE_DIR)
set(HAVE_CALLGRIND 1)
else()
- message(STATUS "Disabling callgrind macros in performance tests because of missing headers")
+ message(STATUS "Disabling callgrind macros in performance tests because of missing valgrind headers")
endif()
endif()