diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-06-20 15:38:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-20 15:38:52 -0700 |
| commit | e0f04703374bbe9c99988d1220920ad526b8e565 (patch) | |
| tree | 1afa2bfa3615e2e82a7a57195f5a320745b279e2 /ports/cpr/enable-install.patch | |
| parent | 9f0f110f36ed9b91b1fa2b2ab1165555b540af4d (diff) | |
| parent | d026905ae90290fd808ee0896e11e71f2ff8ac5b (diff) | |
| download | vcpkg-e0f04703374bbe9c99988d1220920ad526b8e565.tar.gz vcpkg-e0f04703374bbe9c99988d1220920ad526b8e565.zip | |
Merge pull request #1316 from moffel/cpr
[cpr] add c++ requests 1.3.0 port
Diffstat (limited to 'ports/cpr/enable-install.patch')
| -rw-r--r-- | ports/cpr/enable-install.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ports/cpr/enable-install.patch b/ports/cpr/enable-install.patch new file mode 100644 index 000000000..da8d3ee73 --- /dev/null +++ b/ports/cpr/enable-install.patch @@ -0,0 +1,17 @@ +diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt +index a6db5bd..b4982d1 100644 +--- a/cpr/CMakeLists.txt ++++ b/cpr/CMakeLists.txt +@@ -45,3 +45,12 @@ add_library(${CPR_LIBRARIES} + message(STATUS "Using CURL_LIBRARIES: ${CURL_LIBRARIES}.") + target_link_libraries(${CPR_LIBRARIES} + ${CURL_LIBRARIES}) ++ ++install(TARGETS ${CPR_LIBRARIES} ++ RUNTIME DESTINATION bin ++ LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION lib ++) ++if(NOT DISABLE_INSTALL_HEADERS) ++ install(DIRECTORY ${CPR_INCLUDE_DIRS} DESTINATION include) ++endif() |
