From 841eebd44dc84eb713cc31d24cf1f5c4c73f72dc Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 28 Mar 2021 22:51:52 +0200 Subject: [PATCH] fixup! cmake: add a preparatory work-around to accommodate `vcpkg` Style fix, pointed out in the review at https://lore.kernel.org/git/YF/117C6LcNGQ7sm@danh.dev Signed-off-by: Johannes Schindelin --- contrib/buildsystems/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt index a7e66e29ca679a..551f2e670e84b9 100644 --- a/contrib/buildsystems/CMakeLists.txt +++ b/contrib/buildsystems/CMakeLists.txt @@ -836,7 +836,7 @@ list(TRANSFORM git_perl_scripts PREPEND "${CMAKE_BINARY_DIR}/") #install foreach(program ${PROGRAMS_BUILT}) -if(${program} STREQUAL git OR ${program} STREQUAL git-shell) +if(program STREQUAL "git" OR program STREQUAL "git-shell") install(TARGETS ${program} RUNTIME DESTINATION bin) else()