mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 13:35:05 +00:00
Make valgrind happy
This commit is contained in:
parent
569295fe30
commit
4bbb53a25d
1 changed files with 2 additions and 0 deletions
|
@ -433,6 +433,8 @@ if (NOT JANSSON_WITHOUT_TESTS)
|
|||
if (JANSSON_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
|
||||
|
|
Loading…
Add table
Reference in a new issue