public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Enable C++17 on RHEL 11
@ 2026-08-28 13:33 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-28 13:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : e035a958ac878d72d5faa66d51c64173023bf653
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2025-10-29T17:53:07-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/e035a958ac878d72d5faa66d51c64173023bf653?branch=opencv5

            Log:
            Enable C++17 on RHEL 11

While this was originally intended for the future inclusion of Protobuf v4,
rawhide and ELN now include Eigen 5.0 which requires a newer C++ standard.

---
diff --git a/opencv.spec b/opencv.spec
index 0c0f648..bdddf71 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -472,7 +472,7 @@ cd modules/python/package
 # disabling IPP because it is closed source library from intel
 
 %cmake \
-%if 0%{?fedora} > 38
+%if 0%{?fedora} > 38 || 0%{?rhel} > 10
  -DCMAKE_CXX_STANDARD=17 \
 %endif
  -DCV_TRACE=OFF \

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

only message in thread, other threads:[~2026-08-28 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:33 [rpms/opencv] opencv5: Enable C++17 on RHEL 11 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox