From b7155478244a34c31b01f0bc2ace961ecca60f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=98=95?= Date: Fri, 23 Dec 2022 18:30:29 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E6=9B=B4=E6=96=B0=E6=89=93=E5=8C=85?= =?UTF-8?q?=E4=B8=AD=E6=9C=8D=E5=8A=A1=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcs/CMakeLists.txt b/srcs/CMakeLists.txt index 748ae82..d1416d3 100644 --- a/srcs/CMakeLists.txt +++ b/srcs/CMakeLists.txt @@ -76,11 +76,10 @@ ADD_CUSTOM_COMMAND(TARGET ${PROJECT_TARGET} COMMAND ${CMAKE_COMMAND} -E copy_if_different "${PROJECT_SOURCE_DIR}/../config/banner.txt" "${CMAKE_CURRENT_BINARY_DIR}/config/") SET(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install/") -install(FILES ../config/vcpe.cfg ../config/vcpe.service ../config/banner.txt ../config/zlog.conf +INSTALL(FILES ../config/vcpe.cfg ../config/vcpe.service ../config/banner.txt ../config/zlog.conf DESTINATION config) INSTALL(TARGETS ${PROJECT_TARGET} - RUNTIME PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE - RUNTIME DESTINATION bin) + RUNTIME DESTINATION ./) SET(CPACK_GENERATOR "TGZ") IF ("${VERSION_GIT_HASH_SHORT}" STREQUAL "")