nixpkgs/pkgs/games/zandronum/dont_update_gitinfo.patch

20 lines
560 B
Diff
Raw Normal View History

diff -r dd3c3b57023f src/CMakeLists.txt
--- a/src/CMakeLists.txt Fri Sep 01 06:40:50 2017 -0500
+++ b/src/CMakeLists.txt Fri Sep 15 01:46:34 2017 -0700
@@ -636,15 +636,6 @@
add_definitions( -DBACKPATCH )
endif( BACKPATCH )
-# Update gitinfo.h
-
-get_target_property( UPDATEREVISION_EXE updaterevision LOCATION )
-
-add_custom_target( revision_check ALL
- COMMAND ${UPDATEREVISION_EXE} src/gitinfo.h
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
- DEPENDS updaterevision )
-
# Libraries ZDoom needs
message( STATUS "Fluid synth libs: ${FLUIDSYNTH_LIBRARIES}" )