public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lexertl17] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-12 10:02 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-12 10:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lexertl17
Branch : rawhide
Commit : e4e8b5165c88cfd043480edbb190ba5f70fe3b29
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-12T11:00:59+01:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lexertl17/c/e4e8b5165c88cfd043480edbb190ba5f70fe3b29?branch=rawhide
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/lexertl17.spec b/lexertl17.spec
index 2d57351..c527df2 100644
--- a/lexertl17.spec
+++ b/lexertl17.spec
@@ -20,11 +20,7 @@ URL: https://github.com/BenHanson/lexertl17
Source: %{url}/archive/%{version}/lexertl17-%{version}.tar.gz
BuildSystem: cmake
-%if %{with ctest}
-BuildOption(conf): -DBUILD_TESTING:BOOL=ON
-%else
-BuildOption(conf): -DBUILD_TESTING:BOOL=OFF
-%endif
+BuildOption(conf): -DBUILD_TESTING:BOOL=%{with ctest}
BuildOption(conf): -DBUILD_EXAMPLES:BOOL=ON
%if %{undefined fc43}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:02 [rpms/lexertl17] 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