Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndreasSchwab
merkaartor
0001-Work-around-upstream-version-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Work-around-upstream-version-check.patch of Package merkaartor
From 4b83fe8027d96d1464da74ba82d097cc750d428d Mon Sep 17 00:00:00 2001 From: Christophe Marin <christophe@krop.fr> Date: Mon, 18 Sep 2023 18:08:36 +0200 Subject: [PATCH] Work around upstream version check We don't need the git metadata for the package snapshot --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3221d9c6..ea8ee638 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.19.0) set(VCS_FALLBACK_VERSION 0.19.0) -include(cmake/vcs.cmake) +set(VCS_VERSION ${VCS_FALLBACK_VERSION}) message(STATUS "Configuring Merkaartor ${VCS_VERSION}, commit: ${VCS_COMMIT}, dirty: ${VCS_DIRTY}.") # Set a default build type if none was specified @@ -15,6 +15,8 @@ endif() project(merkaartor VERSION ${VCS_VERSION}) +set(PROJECT_VERSION_TWEAK 0) + # TODO: Use configure_file() instead of definitions when qmake is deprecated. # Using definitions causes unnecessary rebuilds, as with each commit the hash # changes compile flags for each and every file. However, it is kept for qmake -- 2.42.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor