Skip to content

Commit

Permalink
Fix version header regeneration with Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
mwpenny committed Dec 6, 2024
1 parent 96602ec commit a239d9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ set(VERSION_H "${GENERATED_CODE_DIR}/version.h")
add_custom_target(version_header
DEPENDS
${GEN_VERSION_HEADER}
BYPRODUCTS
${VERSION_H}
COMMAND
${CMAKE_COMMAND}
-D Git_EXECUTABLE=${Git_EXECUTABLE}
Expand Down

0 comments on commit a239d9b

Please sign in to comment.