mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 20:48:59 +08:00
3e1bc1a3ca
* update cpr port and baseline to 1.10.5 * use version as ref in portfile
16 lines
481 B
Diff
16 lines
481 B
Diff
diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt
|
|
index 52787f5..aa3687d 100644
|
|
--- a/cpr/CMakeLists.txt
|
|
+++ b/cpr/CMakeLists.txt
|
|
@@ -46,6 +46,10 @@ set_target_properties(cpr
|
|
VERSION ${${PROJECT_NAME}_VERSION}
|
|
SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR})
|
|
|
|
+if (NOT DISABLE_INSTALL_HEADERS)
|
|
+ install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../include/cpr DESTINATION include)
|
|
+endif()
|
|
+
|
|
# Import GNU common install directory variables
|
|
include(GNUInstallDirs)
|
|
|