projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c0961
)
Pass VERSION_EXTRA to GenerateVersion.cmake
author
Kahrl
<kahrl@gmx.net>
Sun, 29 Sep 2013 14:05:09 +0000
(16:05 +0200)
committer
Kahrl
<kahrl@gmx.net>
Sun, 29 Sep 2013 14:05:09 +0000
(16:05 +0200)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 4d99f5acd1208d734867ecf8bd06204e1a374e67..7b9ca0eaedd92a8b3df6a0cd0a56c6d4fdd4c86e 100644
(file)
--- 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}")