Commit 576ecc92 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:5006] change what we search for so VALGRIND_PREFIX makes more sense


git-svn-id: file:///svn/toku/tokudb@44253 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3df4ae67
...@@ -10,10 +10,7 @@ ...@@ -10,10 +10,7 @@
message(STATUS "Valgrind Prefix: ${VALGRIND_PREFIX}") message(STATUS "Valgrind Prefix: ${VALGRIND_PREFIX}")
find_path(VALGRIND_INCLUDE_DIR valgrind/memcheck.h find_path(VALGRIND_INCLUDE_DIR include/valgrind/memcheck.h ${VALGRIND_PREFIX} /usr/local /usr)
${VALGRIND_PREFIX}/include ${VALGRIND_PREFIX}/include/valgrind
/usr/local/include /usr/local/include/valgrind
/usr/include /usr/include/valgrind)
find_program(VALGRIND_PROGRAM NAMES valgrind PATH ${VALGRIND_PREFIX}/bin /usr/local/bin /usr/bin) find_program(VALGRIND_PROGRAM NAMES valgrind PATH ${VALGRIND_PREFIX}/bin /usr/local/bin /usr/bin)
find_package_handle_standard_args(VALGRIND DEFAULT_MSG find_package_handle_standard_args(VALGRIND DEFAULT_MSG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment