yaml-cpp-config.cmake.in.patch 676 B

1234567891011121314151617
  1. diff --git a/yaml-cpp-config.cmake.in b/yaml-cpp-config.cmake.in
  2. index 7b41e3f..acb82f9 100644
  3. --- a/yaml-cpp-config.cmake.in
  4. +++ b/yaml-cpp-config.cmake.in
  5. @@ -5,10 +5,10 @@
  6. # Compute paths
  7. get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  8. -set(YAML_CPP_INCLUDE_DIR "@CONFIG_INCLUDE_DIRS@")
  9. +set(YAML_CPP_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@")
  10. # Our library dependencies (contains definitions for IMPORTED targets)
  11. include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake")
  12. # These are IMPORTED targets created by yaml-cpp-targets.cmake
  13. -set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@")
  14. +set(YAML_CPP_LIBRARIES "yaml-cpp")