From: Kahrl Date: Sun, 29 Sep 2013 14:05:09 +0000 (+0200) Subject: Pass VERSION_EXTRA to GenerateVersion.cmake X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=2134316c8083274fb1c7645cbb1ceab745073e84;p=zefram%2Fminetest%2Fminetest_engine.git Pass VERSION_EXTRA to GenerateVersion.cmake --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4d99f5ac..7b9ca0ea 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}")