"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "3d005816b1cbfad216eddbb98e60418a6c2d044b"
Commit 30e69332 authored by Levi Armstrong's avatar Levi Armstrong Committed by Jesse Beder
Browse files

Fix yaml-cpp-config.cmake.in

parent db03655d
...@@ -19,8 +19,11 @@ include("${CMAKE_CURRENT_LIST_DIR}/yaml-cpp-targets.cmake") ...@@ -19,8 +19,11 @@ include("${CMAKE_CURRENT_LIST_DIR}/yaml-cpp-targets.cmake")
# These are IMPORTED targets created by yaml-cpp-targets.cmake # These are IMPORTED targets created by yaml-cpp-targets.cmake
set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@") set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@")
add_library(yaml-cpp INTERFACE IMPORTED) if(NOT TARGET yaml-cpp)
target_link_libraries(yaml-cpp INTERFACE yaml-cpp::yaml-cpp) add_library(yaml-cpp INTERFACE IMPORTED)
target_link_libraries(yaml-cpp INTERFACE yaml-cpp::yaml-cpp)
endif()
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.17) if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.17)
set_target_properties(yaml-cpp PROPERTIES set_target_properties(yaml-cpp PROPERTIES
DEPRECATION "The target yaml-cpp is deprecated and will be removed in version 0.10.0. Use the yaml-cpp::yaml-cpp target instead." DEPRECATION "The target yaml-cpp is deprecated and will be removed in version 0.10.0. Use the yaml-cpp::yaml-cpp target instead."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment