public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rapidyaml] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-13 7:02 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-13 7:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rapidyaml
Branch : rawhide
Commit : ca1b916e1f420a3e012322539731b0e231cef49d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-13T07:58:55+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rapidyaml/c/ca1b916e1f420a3e012322539731b0e231cef49d?branch=rawhide
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/rapidyaml.spec b/rapidyaml.spec
index 020cb86..189705c 100644
--- a/rapidyaml.spec
+++ b/rapidyaml.spec
@@ -59,11 +59,7 @@ BuildSystem: cmake
BuildOption(conf): -DRYML_CXX_STANDARD=%{cxx_std}
BuildOption(conf): -DRYML_SYSTEM_C4CORE:BOOL=ON
BuildOption(conf): -DRYML_BUILD_BENCHMARKS:BOOL=OFF
-%if %{with tests}
-BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=ON
-%else
-BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=OFF
-%endif
+BuildOption(conf): -DRYML_BUILD_TESTS:BOOL=%{with tests}
BuildOption(conf): -DRYML_FUZZ_DRIVERS:BOOL=OFF
BuildOption(conf): -DRYML_FUZZ_TEST:BOOL=OFF
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-13 7:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-13 7:02 [rpms/rapidyaml] 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