]> git.ipfire.org Git - thirdparty/git.git/commit
cmake: use verbatim arguments when invoking clar commands
authorPatrick Steinhardt <ps@pks.im>
Fri, 15 Nov 2024 07:32:43 +0000 (08:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2024 00:59:26 +0000 (09:59 +0900)
commit8caa7b9b05a67da7cbcd7fe42725177cda9eae7c
tree45fcfacd1ca019c3466bd132f663949a315cdbb5
parent8839dccc8d7526afe8020f80776c7ee76df847bf
cmake: use verbatim arguments when invoking clar commands

Pass the VERBATIM option to `add_custom_command()`. Like this, all
arguments to the commands will be escaped properly for the build tool so
that the invoked command receives each argument unchanged.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/buildsystems/CMakeLists.txt