public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/luminance-hdr] f44: Simplify setting Boolean CMake options based on build conditionals
Date: Tue, 10 Nov 2026 22:18:00 GMT [thread overview]
Message-ID: <179434908011.1.5982698050540113934.rpms-luminance-hdr-66ec9108a814@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/luminance-hdr
Branch : f44
Commit : 66ec9108a8145d6170969a5c0fcc92ee37777285
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-10T22:15:27+00:00
Stats : +1/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/luminance-hdr/c/66ec9108a8145d6170969a5c0fcc92ee37777285?branch=f44
Log:
Simplify setting Boolean CMake options based on build conditionals
---
diff --git a/luminance-hdr.spec b/luminance-hdr.spec
index 5b7a2cf..ee4481d 100644
--- a/luminance-hdr.spec
+++ b/luminance-hdr.spec
@@ -136,11 +136,7 @@ Patch: %{forgeurl}/pull/284.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++
reply other threads:[~2026-11-10 22:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179434908011.1.5982698050540113934.rpms-luminance-hdr-66ec9108a814@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox