2 Commits

2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 21 01:26:19 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
-------------------------------------------------------------------
Wed Jan 18 08:32:54 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package Catch2-2
#
# Copyright (c) 2023 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
@@ -58,7 +58,8 @@ This package provides version 2.x of Catch2.
%cmake \
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \
-DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig \
-DCATCH_BUILD_EXAMPLES:BOOL=ON
-DCATCH_BUILD_EXAMPLES:BOOL=ON \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake_build
%install