Skip to content

Commit c767694

Browse files
committed
Update cmake install for config
1 parent 3e6dbbd commit c767694

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,5 +560,9 @@ endif()
560560
# 安装 proxy_server 服务
561561

562562
configure_file(proxy.service.in proxy-server@.service)
563+
563564
install(TARGETS proxy_server RUNTIME DESTINATION bin)
564-
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxy-server@.service DESTINATION /usr/lib/systemd/system/)
565+
566+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxy-server@.service DESTINATION /usr/lib/systemd/system/)
567+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/server.conf.example DESTINATION /etc/proxy_server/)
568+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/client.conf.example DESTINATION /etc/proxy_server/)

0 commit comments

Comments
 (0)