12345678910111213 |
- diff --git a/cmake/common.cmake b/cmake/common.cmake
- index 00f970a036..0408e57701 100644
- --- a/cmake/common.cmake
- +++ b/cmake/common.cmake
- @@ -162,7 +162,7 @@ endfunction()
- function(vcs_info Tgt)
- add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/__vcs_version__.c
- - COMMAND Python3::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/vcs_info.py no-vcs dummy.json ${CMAKE_CURRENT_BINARY_DIR}/__vcs_version__.c ${CMAKE_SOURCE_DIR}/build/scripts/c_templates/svn_interface.c
- + COMMAND Python3::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/vcs_info.py ${CMAKE_SOURCE_DIR}/vcs-info.json ${CMAKE_CURRENT_BINARY_DIR}/__vcs_version__.c ${CMAKE_SOURCE_DIR}/build/scripts/c_templates/svn_interface.c
- DEPENDS ${CMAKE_SOURCE_DIR}/build/scripts/vcs_info.py ${CMAKE_SOURCE_DIR}/build/scripts/c_templates/svn_interface.c
- )
- target_sources(${Tgt} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/__vcs_version__.c)
|