diff options
| author | Fabian Wosar <fabian.wosar@emsisoft.com> | 2018-01-12 14:45:39 +0100 |
|---|---|---|
| committer | Fabian Wosar <fabian.wosar@emsisoft.com> | 2018-01-12 14:45:39 +0100 |
| commit | 62744550b980157083f91ef9558270910216ee45 (patch) | |
| tree | 1f6a7d502185f4debd1a2aa7462ff91ff342e565 | |
| parent | 6bdc3bf9eb5cc93e579cddcbb01c41e991082c8c (diff) | |
| download | vcpkg-62744550b980157083f91ef9558270910216ee45.tar.gz vcpkg-62744550b980157083f91ef9558270910216ee45.zip | |
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/<header file>". In addition having to include <include/cpr/cpr.h> breaks the general vcpkg conventions.
| -rw-r--r-- | ports/cpr/enable-install.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/cpr/enable-install.patch b/ports/cpr/enable-install.patch index da8d3ee73..250199e5a 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() |
