summaryrefslogtreecommitdiff
path: root/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch')
-rw-r--r--media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch b/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
new file mode 100644
index 000000000000..c5c699b489fe
--- /dev/null
+++ b/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
@@ -0,0 +1,14 @@
+diff --git a/src/test/bin/CMakeLists.txt b/src/test/bin/CMakeLists.txt
+index e53b879..ad0190d 100644
+--- a/src/test/bin/CMakeLists.txt
++++ b/src/test/bin/CMakeLists.txt
+@@ -3,6 +3,9 @@
+
+ if(BUILD_TESTING)
+
++ if(NOT OPENEXR_BUILD_TOOLS)
++ return()
++ endif()
+ find_package(Python3 COMPONENTS Interpreter)
+ if (NOT Python3_FOUND)
+ message(STATUS "Python3 not found: skipping bin tests")