mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed git file generation under MacOSX
This commit is contained in:
parent
d05ee3d313
commit
57bea22e7b
@ -77,7 +77,7 @@ add_custom_target(git_revision_h
|
||||
)
|
||||
else(WIN32)
|
||||
add_custom_target(git_revision_h
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/makegit
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/makegit > ${GIT_REVISION_TMP}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${GIT_REVISION_TMP} ${GIT_REVISION}
|
||||
COMMAND ${CMAKE_COMMAND} -E remove ${GIT_REVISION_TMP}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user