OpenColorIO
OpenColorIO copied to clipboard
2.0.1 fails to find yaml-cpp
I have yaml-cpp-0.7.0 installed but OpenColorIO-2.0.1 fails to find it:
-- Could NOT find yaml-cpp (missing: yaml-cpp_LIBRARY) (found suitable version "0.7.0", minimum required is "0.6.3")
-- Installing yaml-cpp: /disk-samsung/freebsd-ports/graphics/opencolorio/work/.build/ext/dist/lib/libyaml-cpp.a (version "0.6.3")
yaml-cpp-0.7.0 installs both cmake and pkgconfig files:
$ pkg info -l yaml-cpp
yaml-cpp-0.7.0:
[...]
/usr/local/lib/cmake/yaml-cpp/yaml-cpp-config-version.cmake
/usr/local/lib/cmake/yaml-cpp/yaml-cpp-config.cmake
/usr/local/lib/cmake/yaml-cpp/yaml-cpp-targets-release.cmake
/usr/local/lib/cmake/yaml-cpp/yaml-cpp-targets.cmake
[...]
/usr/local/libdata/pkgconfig/yaml-cpp.pc
[...]
You still use custom script share/cmake/modules/Findyaml-cpp.cmake that fails.
OS: FreeBSD 13
I tried to reproduce on macOS but it is working as expected, anyone have access to FreeBSD or know a working docker image ? It would be nice to fix this for the next minor release.
There's been a fair amount of improvements to the Yaml configuration since this was opened. Please re-open if the issue still exists.