From e9567c306ad713d4887b3593d67074cf288cc6a9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 May 2022 19:47:51 -0500 Subject: [PATCH] Use target name variable. --- rapids-cmake/cmake/write_git_revision_file.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids-cmake/cmake/write_git_revision_file.cmake b/rapids-cmake/cmake/write_git_revision_file.cmake index 3c6393c5..c3d60a81 100644 --- a/rapids-cmake/cmake/write_git_revision_file.cmake +++ b/rapids-cmake/cmake/write_git_revision_file.cmake @@ -98,7 +98,7 @@ function(rapids_cmake_write_git_revision_file target file_path) add_custom_target(${target}_compute_git_info ALL BYPRODUCTS "${file_path}" - COMMENT "Generate git revision file for {target}" + COMMENT "Generate git revision file for ${target}" COMMAND ${CMAKE_COMMAND} -DWORKING_DIRECTORY=${CMAKE_CURRENT_SOURCE_DIR} -DGIT_EXECUTABLE=${GIT_EXECUTABLE} -DRAPIDS_GIT_PREFIX=${RAPIDS_PREFIX} -DTEMPLATE_FILE=${CMAKE_CURRENT_FUNCTION_LIST_DIR}/template/git_revision.hpp.in