Skip to content

Commit

Permalink
perf: valgrind command setup (#29)
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed Mar 7, 2024
1 parent 814b961 commit aeb6391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/test/Valgrind.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ find_program(
DOC "valgrind executable")

if(VALGRIND_COMMAND)
set(VALGRIND_COMMAND_OPTIONS "${USE_VALGRIND}")
set(VALGRIND_COMMAND_OPTIONS
"${USE_VALGRIND}"
CACHE STRING "valgrind options" FORCE)
else()
message(WARNING "Not found valgrind, please check valgrind existence")
endif()

0 comments on commit aeb6391

Please sign in to comment.