summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2021-03-11 11:06:47 +0800
committer彭宣正 <[email protected]>2021-03-11 11:06:47 +0800
commit7365e2d27b16b40ef4957ecf4627f145f01c6512 (patch)
treee98abdb5be8d7aba76cceb5dba9d74844526d88c
parentc9f7a9e434f75ccec70cdf7689288e47a1ea71d4 (diff)
📃docs(hos.conf): 增加动态库配置文件v1.0.12
-rw-r--r--CMakeLists.txt1
-rw-r--r--conf/hos.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2a3ae68..7563f98f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ add_subdirectory(src)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/src/libhos-client-cpp.so DESTINATION ${CMAKE_INSTALL_PREFIX}/lib COMPONENT LIBRARIES)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/hos_client.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include COMPONENT HEADER)
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/conf/hos.conf DESTINATION /usr/local/lib64 COMPONENT PROFILE)
#install(FILES ${CMAKE_CURRENT_BINARY_DIR}/src/libhos-client-cpp.a DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT PROFILE)
include(Package)
diff --git a/conf/hos.conf b/conf/hos.conf
new file mode 100644
index 00000000..04ecf183
--- /dev/null
+++ b/conf/hos.conf
@@ -0,0 +1 @@
+/usr/local/lib64/ \ No newline at end of file