mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:09:00 +08:00
9932f44008
* [cpr] update version to 1.7.0 * update version * update version * update versions * del_version * test * update patch * update version * update patch * update patch * update version * update patch * update version * update patch * update version
24 lines
827 B
Diff
24 lines
827 B
Diff
diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt
|
|
index d43fc1d..d6a3992 100644
|
|
--- a/cpr/CMakeLists.txt
|
|
+++ b/cpr/CMakeLists.txt
|
|
@@ -29,6 +29,10 @@ set_target_properties(cpr
|
|
PROPERTIES
|
|
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)
|
|
@@ -37,6 +41,7 @@ if(CPR_FORCE_USE_SYSTEM_CURL)
|
|
install(TARGETS cpr
|
|
EXPORT cprTargets
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
|
|
# Include CMake helpers for package config files
|