update cmakelists
This commit is contained in:
@@ -16,9 +16,9 @@ macro(add_tools name)
|
||||
# 设置安装后的动态库调用地址
|
||||
set_target_properties(${name} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
# 链接动态库
|
||||
target_link_libraries(${name} PUBLIC tesseroids)
|
||||
target_link_libraries(${name} PUBLIC tess)
|
||||
# 将可执行程序安装到/usr/local/sbin
|
||||
install(TARGETS ${name} RUNTIME DESTINATION sbin/tesseroids)
|
||||
install(TARGETS ${name} RUNTIME DESTINATION sbin/tess)
|
||||
endmacro()
|
||||
|
||||
# 添加tools
|
||||
|
Reference in New Issue
Block a user