Skip to content

Commit

Permalink
Make valgrind happy
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Feb 12, 2014
1 parent 50a811c commit 1dc87ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ if (NOT WITHOUT_TESTS)
if (TEST_WITH_VALGRIND)
# TODO: Add FindValgrind.cmake instead of having a hardcoded path.

add_definitions(-DVALGRIND)

# enable valgrind
set(CMAKE_MEMORYCHECK_COMMAND valgrind)
set(CMAKE_MEMORYCHECK_COMMAND_OPTIONS
Expand Down

0 comments on commit 1dc87ed

Please sign in to comment.