2017-06-20 15:36:35 -07:00
|
|
|
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)
|
2018-01-12 14:45:39 +01:00
|
|
|
+ install(DIRECTORY ${CPR_INCLUDE_DIRS}/cpr DESTINATION include)
|
2017-06-20 15:36:35 -07:00
|
|
|
+endif()
|