mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 09:27:49 +08:00
f34e5902f1
* [cpr] update to 1.8.1 * version * license * version * Don't use curl default features * version
16 lines
477 B
Diff
16 lines
477 B
Diff
diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt
|
|
index 66fc9eb..cc00c72 100644
|
|
--- a/cpr/CMakeLists.txt
|
|
+++ b/cpr/CMakeLists.txt
|
|
@@ -30,6 +30,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)
|
|
|