Skip to content

Commit

Permalink
target from write_git_revision now works with export sets
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Oct 16, 2023
1 parent 3742838 commit 901063b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapids-cmake/cmake/write_git_revision_file.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ function(rapids_cmake_write_git_revision_file target file_path)
add_dependencies(${target} ${target}_compute_git_info)

cmake_path(GET file_path PARENT_PATH file_path_dir)
target_include_directories(${target} INTERFACE ${file_path_dir})
target_include_directories(${target} INTERFACE "$<BUILD_INTERFACE:${file_path_dir}>")

endfunction()

0 comments on commit 901063b

Please sign in to comment.