2 # Valgrind_FOUND - system has Valgrind lib
3 # Valgrind_INCLUDE_DIR - the Valgrind include directory
5 # Note: We only require the valgrind/memcheck.h header, so we don't check if
6 # the valgrind executable is installed.
8 find_path(Valgrind_INCLUDE_DIR NAMES valgrind/memcheck.h)
10 find_package_handle_standard_args(Valgrind REQUIRED_VARS Valgrind_INCLUDE_DIR)
11 mark_as_advanced(Valgrind_INCLUDE_DIR)