From 2134316c8083274fb1c7645cbb1ceab745073e84 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 29 Sep 2013 16:05:09 +0200 Subject: [PATCH] Pass VERSION_EXTRA to GenerateVersion.cmake --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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}")