diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 502c501..443ea4e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -83,6 +83,8 @@ macro(add_tool name) set_target_properties(${name} PROPERTIES INSTALL_RPATH /usr/local/lib) # 链接动态库 target_link_libraries(${name} PUBLIC tin) + # 安装命令 + install(TARGETS ${name} DESTINATION sbin) endmacro() add_tool(grd2tin)