From 6f162641767a0c4a0276c0d07a31ec3772dfc894 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 7 Nov 2016 14:59:28 +0100 Subject: [PATCH] distsrc needs an updated etc/gitinfo.txt. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb55e44c9df44..936b160c9474f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,7 +225,8 @@ add_custom_target(version COMMAND ${CMAKE_SOURCE_DIR}/build/unix/makeversion.sh #add_dependencies(version root.exe) #---distribution commands------------------------------------------------------------------------ -add_custom_target(distsrc COMMAND ${CMAKE_SOURCE_DIR}/build/unix/makedistsrc.sh ${CMAKE_SOURCE_DIR}) +add_custom_target(distsrc COMMAND ${CMAKE_SOURCE_DIR}/build/unix/makedistsrc.sh ${CMAKE_SOURCE_DIR} + DEPENDS ${CMAKE_BINARY_DIR}/include/RGitCommit.h) add_custom_target(dist COMMAND cpack --config CPackConfig.cmake) #---Configure and install various files neded later and for clients -----------------------------