|
|
|
@ -29,7 +29,8 @@ stdenv.mkDerivation rec { |
|
|
|
|
# External libyamlcpp 0.6.* not compatible: https://github.com/imageworks/OpenColorIO/issues/517 |
|
|
|
|
"-DUSE_EXTERNAL_YAML=OFF" |
|
|
|
|
] ++ lib.optional stdenv.isDarwin "-DOCIO_USE_BOOST_PTR=ON" |
|
|
|
|
++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF"; |
|
|
|
|
++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF" |
|
|
|
|
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64"; |
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
mkdir -p $bin/bin; mv $out/bin $bin/ |
|
|
|
|