--- /dev/null
+--- CTL-ctl-1.5.2/lib/IlmCtlMath/CMakeLists.txt.orig 2023-03-14 18:23:20.790979681 +0100
++++ CTL-ctl-1.5.2/lib/IlmCtlMath/CMakeLists.txt 2023-03-14 18:44:50.993990051 +0100
+@@ -6,7 +6,7 @@ add_library( IlmCtlMath ${DO_SHARED}
+ CtlRbfInterpolator.cpp
+ )
+
+-target_link_libraries( IlmCtlMath IlmCtl )
++target_link_libraries( IlmCtlMath IlmCtl Imath )
+
+ set_target_properties( IlmCtlMath PROPERTIES
+ VERSION ${CTL_VERSION}
Patch2: %{name}-pc.patch
Patch3: %{name}-openexr-update.patch
Patch4: %{name}-c++17.patch
+Patch5: %{name}-link.patch
URL: https://www.oscars.org/science-technology/sci-tech-projects/color-transformation-language
BuildRequires: OpenEXR-devel
BuildRequires: aces_container-devel
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
install -d build