]>
Commit | Line | Data |
---|---|---|
09e1f3a9 JB |
1 | --- OpenColorIO-2.2.1/share/cmake/modules/Findyaml-cpp.cmake.orig 2023-01-06 03:05:59.000000000 +0100 |
2 | +++ OpenColorIO-2.2.1/share/cmake/modules/Findyaml-cpp.cmake 2023-08-20 20:59:15.288585933 +0200 | |
3 | @@ -43,7 +43,7 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUA | |
4 | endif() | |
5 | ||
6 | if(yaml-cpp_FOUND) | |
7 | - get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION) | |
8 | + get_target_property(yaml-cpp_LIBRARY yaml-cpp::yaml-cpp LOCATION) | |
9 | else() | |
10 | ||
11 | # As yaml-cpp-config.cmake search fails, search an installed library | |
12 | @@ -130,7 +130,7 @@ endif() | |
13 | ############################################################################### | |
14 | ### Create target (if previous 'find_package' call hasn't) ### | |
15 | ||
16 | -if(NOT TARGET yaml-cpp) | |
17 | +if(NOT TARGET yaml-cpp::yaml-cpp) | |
18 | add_library(yaml-cpp UNKNOWN IMPORTED GLOBAL) | |
19 | set(_yaml-cpp_TARGET_CREATE TRUE) | |
20 | endif() |