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.
This commit is contained in:
Fabian Wosar 2018-01-12 14:45:39 +01:00
parent 6bdc3bf9eb
commit 62744550b9

View File

@ -13,5 +13,5 @@ index a6db5bd..b4982d1 100644
+ ARCHIVE DESTINATION lib + ARCHIVE DESTINATION lib
+) +)
+if(NOT DISABLE_INSTALL_HEADERS) +if(NOT DISABLE_INSTALL_HEADERS)
+ install(DIRECTORY ${CPR_INCLUDE_DIRS} DESTINATION include) + install(DIRECTORY ${CPR_INCLUDE_DIRS}/cpr DESTINATION include)
+endif() +endif()