We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae49632 commit c986f08Copy full SHA for c986f08
cmake/wndx_sane_memcheck.cmake
@@ -193,10 +193,10 @@ function(wndx_sane_memcheck) ## args
193
# ${CUSTOM_TARGET_OPTS}
194
# )
195
add_custom_target(${arg_TGT_NAME}
196
- COMMAND export ${list_def_env}
197
- && setsid ${LEAKS_COMMAND} ${arg_LEAKS_OPTS} -atExit
+ COMMAND /bin/sh -c 'export ${list_def_env}
+ && exec ${LEAKS_COMMAND} ${arg_LEAKS_OPTS} -atExit
198
-- $<TARGET_FILE:${tgt_exec}> ${tgt_opts}
199
- ${CUSTOM_TARGET_OPTS}
+ ${CUSTOM_TARGET_OPTS}'
200
)
201
add_dependencies(${arg_TGT_NAME} ${tgt_exec})
202
else()
0 commit comments