lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ctl: fix build on darwin

Patch the target_link_libraries CMake command for the IlmCtlMath library
to fix undefined symbols.

No need to make the patch darwin only.

+10
+10
pkgs/development/libraries/ctl/default.nix
··· 19 19 }) 20 20 ]; 21 21 22 + postPatch = '' 23 + # Fix include guard name 24 + substituteInPlace lib/dpx/dpx_raw.hh \ 25 + --replace CRL_DPX_RAW_INTERNAL_INCLUDE CTL_DPX_RAW_INTERNAL_INCLUDE 26 + 27 + # Fix undefined symbols (link with Imath) 28 + substituteInPlace lib/IlmCtlMath/CMakeLists.txt \ 29 + --replace "( IlmCtlMath IlmCtl )" "( IlmCtlMath IlmCtl Imath)" 30 + ''; 31 + 22 32 nativeBuildInputs = [ cmake pkg-config ]; 23 33 buildInputs = [ libtiff ilmbase openexr ]; 24 34