Skip to content

Instantly share code, notes, and snippets.

@kahrl

kahrl/gist:6752628

Created Sep 29, 2013
Embed
What would you like to do?
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d99f5a..7b9ca0e 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}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment