2 Commits

Author SHA256 Message Date
c4f28ae59f Accepting request 1275422 from science
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
  minimum version warnings (forwarded request 1275395 from simotek)

OBS-URL: https://build.opensuse.org/request/show/1275422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gli?expand=0&rev=6
2025-05-08 16:23:06 +00:00
00ea2ae7af - export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings

OBS-URL: https://build.opensuse.org/package/show/science/gli?expand=0&rev=17
2025-05-08 07:20:01 +00:00
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 7 05:22:57 UTC 2025 - Simon Lees <sflees@suse.de>
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings
-------------------------------------------------------------------
Sun Feb 25 10:58:40 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gli
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -83,6 +83,9 @@ This package provides the documentation for GLI library.
%autopatch -p1
%build
# Remove cmake4 error due to not setting
# min cmake version - sflees.de
export CMAKE_POLICY_VERSION_MINIMUM=3.5
%if 0%{?suse_version} < 1500
%cmake \
-DCMAKE_C_COMPILER=gcc-7 \