File: version.patch

package info (click to toggle)
supertux 0.6.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264,124 kB
  • sloc: cpp: 113,426; ansic: 9,654; sh: 4,483; cs: 1,296; makefile: 407; yacc: 398; python: 382; lisp: 285; objc: 248; csh: 219; lex: 140; perl: 118; xml: 53; ruby: 36
file content (16 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Don't regenerate version.cmake
 use version.cmake from the release tarball, instead of letting it regenerate
 when a git directory has been detected.
Forwarded: not-needed

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -434,7 +434,6 @@
     set(VERSION_STRING_GIT "${MAJOR_VERSION_GIT}.${MINOR_VERSION_GIT}.${PATCH_VERSION_GIT}")
   endif()
 
-  configure_file("${CMAKE_SOURCE_DIR}/version.cmake.in" "${CMAKE_SOURCE_DIR}/version.cmake")
 endif()
 if(NOT EXISTS "${CMAKE_SOURCE_DIR}/version.cmake")
   message( SEND_ERROR "Could not find GIT or valid version.cmake. Version information will be invalid." )