2020-10-14 06:02:41 +08:00
|
|
|
diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt
|
2022-04-07 03:03:32 +08:00
|
|
|
index 66fc9eb..cc00c72 100644
|
2020-10-14 06:02:41 +08:00
|
|
|
--- a/cpr/CMakeLists.txt
|
|
|
|
+++ b/cpr/CMakeLists.txt
|
2022-04-07 03:03:32 +08:00
|
|
|
@@ -30,6 +30,10 @@ set_target_properties(cpr
|
2020-10-14 06:02:41 +08:00
|
|
|
VERSION ${${PROJECT_NAME}_VERSION}
|
|
|
|
SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR})
|
2022-04-07 03:03:32 +08:00
|
|
|
|
2020-10-14 06:02:41 +08:00
|
|
|
+if (NOT DISABLE_INSTALL_HEADERS)
|
2022-04-07 03:03:32 +08:00
|
|
|
+ install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../include/cpr DESTINATION include)
|
2020-10-14 06:02:41 +08:00
|
|
|
+endif()
|
2022-04-07 03:03:32 +08:00
|
|
|
+
|
2021-12-07 12:21:05 +08:00
|
|
|
# Import GNU common install directory variables
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
|