mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
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:
parent
6bdc3bf9eb
commit
62744550b9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user