Don't hardcode paths

This commit is contained in:
Qiyu Yan
2020-08-05 05:08:10 +08:00
parent 8c2072f3bf
commit 655290bf97
10 changed files with 20 additions and 14 deletions

View File

@@ -2,4 +2,4 @@ include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/src)
add_executable(cgattach cgattach.cpp ../src/cgroup_attach.cpp ../src/common.cpp)
install(TARGETS cgattach DESTINATION /usr/bin PERMISSIONS ${basic_permission})
install(TARGETS cgattach DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} PERMISSIONS ${basic_permission})