Skip to content

Commit

Permalink
Avoid bash\r from shebang by calling bash directly on custom command
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Jan 29, 2024
1 parent 60445a4 commit 3f0d076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbor/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" arb_config_str)
add_custom_command(
OUTPUT version.hpp-test
DEPENDS _always_rebuild
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/git-source-id ${FULL_VERSION_STRING} ${ARB_ARCH} ${arb_config_str} ${arb_features} > version.hpp-test
COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR}/git-source-id ${FULL_VERSION_STRING} ${ARB_ARCH} ${arb_config_str} ${arb_features} > version.hpp-test
)

set(version_hpp_path arbor/version.hpp)
Expand Down

0 comments on commit 3f0d076

Please sign in to comment.