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 "")