yaml-cpp-0.8.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. diff --git a/share/cmake/modules/FindExtPackages.cmake b/share/cmake/modules/FindExtPackages.cmake
  2. index 8787b872a..f37340a08 100644
  3. --- a/share/cmake/modules/FindExtPackages.cmake
  4. +++ b/share/cmake/modules/FindExtPackages.cmake
  5. @@ -30,7 +30,7 @@ find_package(expat 2.2.8 REQUIRED)
  6. # yaml-cpp
  7. # https://github.com/jbeder/yaml-cpp
  8. -find_package(yaml-cpp 0.7.0 REQUIRED)
  9. +find_package(yaml-cpp 0.8.0 REQUIRED)
  10. # pystring
  11. # https://github.com/imageworks/pystring
  12. diff --git a/share/cmake/modules/Findyaml-cpp.cmake b/share/cmake/modules/Findyaml-cpp.cmake
  13. index 59558ce6..c5e051ac 100644
  14. --- a/share/cmake/modules/Findyaml-cpp.cmake
  15. +++ b/share/cmake/modules/Findyaml-cpp.cmake
  16. @@ -42,10 +42,6 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL ALL)
  17. find_package(yaml-cpp ${yaml-cpp_FIND_VERSION} CONFIG QUIET)
  18. endif()
  19. - if(yaml-cpp_FOUND)
  20. - get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
  21. - else()
  22. -
  23. # As yaml-cpp-config.cmake search fails, search an installed library
  24. # using yaml-cpp.pc .
  25. @@ -111,7 +107,6 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL ALL)
  26. if(PC_yaml-cpp_FOUND)
  27. set(yaml-cpp_VERSION "${PC_yaml-cpp_VERSION}")
  28. endif()
  29. - endif()
  30. # Override REQUIRED if package can be installed
  31. if(OCIO_INSTALL_EXT_PACKAGES STREQUAL MISSING)