summaryrefslogtreecommitdiff
path: root/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
blob: c5c699b489fe7473d6e7049617bf6534ad952cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")