public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/luminance-hdr] rawhide: Simplify setting Boolean CMake options based on build conditionals
@ 2026-09-13  6:39 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-13  6:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/luminance-hdr
Branch : rawhide
Commit : 4ab7bcb86e15dfea23b40596064c8173fb883050
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-13T07:36:25+01:00
Stats  : +1/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/luminance-hdr/c/4ab7bcb86e15dfea23b40596064c8173fb883050?branch=rawhide

Log:
Simplify setting Boolean CMake options based on build conditionals

---
diff --git a/luminance-hdr.spec b/luminance-hdr.spec
index 0390d62..992b5e4 100644
--- a/luminance-hdr.spec
+++ b/luminance-hdr.spec
@@ -139,11 +139,7 @@ Patch:          luminance-hdr-clamp.patch
 
 BuildSystem:    cmake
 BuildOption(conf): -DCMAKE_BUILD_TYPE=RelWithDebInfo
-%if %{with ctest}
-BuildOption(conf): -DENABLE_UNIT_TEST:BOOL=ON
-%else
-BuildOption(conf): -DENABLE_UNIT_TEST:BOOL=OFF
-%endif
+BuildOption(conf): -DENABLE_UNIT_TEST:BOOL=%{with ctest}
 BuildOption(check): --exclude-regex "^Test(${x})\$"
 
 BuildRequires:  gcc-c++

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-13  6:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-13  6:39 [rpms/luminance-hdr] 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