From 62744550b980157083f91ef9558270910216ee45 Mon Sep 17 00:00:00 2001 From: Fabian Wosar Date: Fri, 12 Jan 2018 14:45:39 +0100 Subject: [PATCH] Fixed wrong include folder The port used to install "include/cpr" instead of "cpr" into the vcpkg include folder . As a result, attempting to use the cpr header would fail as the header includes "cpr/
". In addition having to include breaks the general vcpkg conventions. --- ports/cpr/enable-install.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/cpr/enable-install.patch b/ports/cpr/enable-install.patch index da8d3ee733..250199e5a2 100644 --- a/ports/cpr/enable-install.patch +++ b/ports/cpr/enable-install.patch @@ -13,5 +13,5 @@ index a6db5bd..b4982d1 100644 + ARCHIVE DESTINATION lib +) +if(NOT DISABLE_INSTALL_HEADERS) -+ install(DIRECTORY ${CPR_INCLUDE_DIRS} DESTINATION include) ++ install(DIRECTORY ${CPR_INCLUDE_DIRS}/cpr DESTINATION include) +endif()