aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-09-29 16:05:09 +0200
committerKahrl <kahrl@gmx.net>2013-09-29 16:05:09 +0200
commit2134316c8083274fb1c7645cbb1ceab745073e84 (patch)
tree6716e38338271794d503d4d1c001a288eeb5206f /src
parenta9c0961e0c9c3b854aca34b6d582198be1cd2277 (diff)
downloadminetest-2134316c8083274fb1c7645cbb1ceab745073e84.tar.gz
minetest-2134316c8083274fb1c7645cbb1ceab745073e84.tar.bz2
minetest-2134316c8083274fb1c7645cbb1ceab745073e84.zip
Pass VERSION_EXTRA to GenerateVersion.cmake
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d99f5acd..7b9ca0eae 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -231,6 +231,7 @@ add_custom_target(GenerateVersion
-D "GENERATE_VERSION_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}"
-D "GENERATE_VERSION_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}"
-D "VERSION_STRING=${VERSION_STRING}"
+ -D "VERSION_EXTRA=${VERSION_EXTRA}"
-P "${CMAKE_SOURCE_DIR}/cmake/Modules/GenerateVersion.cmake"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")