public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/earcut-hpp] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-12 7:17 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-12 7:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/earcut-hpp
Branch : rawhide
Commit : 02b904d40e342cf958417edf2c57c7b98f0302b8
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-12T08:13:40+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/earcut-hpp/c/02b904d40e342cf958417edf2c57c7b98f0302b8?branch=rawhide
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/earcut-hpp.spec b/earcut-hpp.spec
index ee160bd..9e3351c 100644
--- a/earcut-hpp.spec
+++ b/earcut-hpp.spec
@@ -27,11 +27,7 @@ BuildSystem: cmake
# We do want to build the tests, but we have no use for the benchmarks or the
# visualizer program.
BuildOption(conf): -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON
-%if %{with ctest}
-BuildOption(conf): -DEARCUT_BUILD_TESTS:BOOL=ON
-%else
-BuildOption(conf): -DEARCUT_BUILD_TESTS:BOOL=OFF
-%endif
+BuildOption(conf): -DEARCUT_BUILD_TESTS:BOOL=%{with ctest}
BuildOption(conf): -DEARCUT_BUILD_BENCH:BOOL=OFF
BuildOption(conf): -DEARCUT_BUILD_VIZ:BOOL=OFF
BuildOption(conf): -DEARCUT_WARNING_IS_ERROR:BOOL=OFF
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 7:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 7:17 [rpms/earcut-hpp] rawhide: Simplify setting Boolean CMake options based on build conditionals Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox