From 92136af733564106bdb73656201b1d623cef3a58 Mon Sep 17 00:00:00 2001 From: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Date: Wed, 3 Jun 2020 13:35:48 +0800 Subject: [yaml-cpp] Update to 0.6.3 and also fix include files cannot be found (#11718) --- ports/yaml-cpp/fix-include-path.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ports/yaml-cpp/fix-include-path.patch (limited to 'ports/yaml-cpp/fix-include-path.patch') diff --git a/ports/yaml-cpp/fix-include-path.patch b/ports/yaml-cpp/fix-include-path.patch new file mode 100644 index 000000000..9a7e9ff42 --- /dev/null +++ b/ports/yaml-cpp/fix-include-path.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4732a45..3de71cc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -324,7 +324,7 @@ else() + endif() + + +-file(RELATIVE_PATH REL_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/${INSTALL_CMAKE_DIR}" "${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_ROOT_DIR}") ++set(REL_INCLUDE_DIR "../../include") + set(CONFIG_INCLUDE_DIRS "\${YAML_CPP_CMAKE_DIR}/${REL_INCLUDE_DIR}") + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/yaml-cpp-config.cmake.in + "${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/yaml-cpp-config.cmake" @ONLY) -- cgit v1.2.3