Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 914716
Collapse All | Expand All

(-)OpenColorIO-2.3.0/share/cmake/modules/Findyaml-cpp.cmake (-1 / +6 lines)
Lines 50-56 if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUA Link Here
50
    endif()
50
    endif()
51
51
52
    if(yaml-cpp_FOUND)
52
    if(yaml-cpp_FOUND)
53
        get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
53
        if(TARGET yaml-cpp::yaml-cpp)
54
	 # yaml-cpp >= 0.8
55
	 get_target_property(yaml-cpp::yaml-cpp_LIBRARY yaml-cpp::yaml-cpp LOCATION)
56
	else()
57
	 get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
58
	endif()
54
    else()
59
    else()
55
60
56
        # As yaml-cpp-config.cmake search fails, search an installed library
61
        # As yaml-cpp-config.cmake search fails, search an installed library

Return to bug 914716