You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-v...

22 lines
579 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 47ea36f..0194f32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,7 @@ project(qsynth
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set (CONFIG_VERSION ${PROJECT_VERSION})
+#[[
execute_process (
COMMAND git describe --tags --dirty --abbrev=6
OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT
@@ -29,6 +30,8 @@ if (GIT_DESCRIBE_RESULT EQUAL 0)
else ()
set (VERSION "${PROJECT_VERSION}")
endif ()
+]]
+set (VERSION "${PROJECT_VERSION}")
set (PACKAGE_NAME "Qsynth")
set (PACKAGE_VERSION "${VERSION}")