summaryrefslogtreecommitdiff
path: root/yaml-cpp/patch-yaml-cpp-config.cmake.in
blob: 4b85175be3825ec93d904cbd20b8505f94aff627 (plain)
    1 --- yaml-cpp-config.cmake.in.orig	2021-07-10 15:53:22 UTC
    2 +++ yaml-cpp-config.cmake.in
    3 @@ -3,12 +3,5 @@
    4  #  YAML_CPP_INCLUDE_DIR - include directory
    5  #  YAML_CPP_LIBRARIES    - libraries to link against
    6  
    7 -# Compute paths
    8 -get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
    9 -set(YAML_CPP_INCLUDE_DIR "@CONFIG_INCLUDE_DIRS@")
   10 -
   11 -# Our library dependencies (contains definitions for IMPORTED targets)
   12 -include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake")
   13 -
   14 -# These are IMPORTED targets created by yaml-cpp-targets.cmake
   15 -set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@")
   16 +set(YAML_CPP_INCLUDE_DIR "%%PREFIX%%/include")
   17 +set(YAML_CPP_LIBRARIES "yaml-cpp")

Generated by cgit