updte build system
This commit is contained in:
@@ -26,7 +26,7 @@ macro(add_tools name)
|
||||
# 链接动态库
|
||||
target_link_libraries(${name} PUBLIC magtess)
|
||||
# 将可执行程序安装到bin
|
||||
install(TARGETS ${name} RUNTIME DESTINATION bin)
|
||||
install(TARGETS ${name} RUNTIME DESTINATION sbin)
|
||||
endmacro()
|
||||
|
||||
# 添加tools
|
||||
@@ -44,4 +44,4 @@ set_target_properties(tessutil_magnetize_model PROPERTIES INSTALL_RPATH ${CMAKE_
|
||||
# 链接动态库
|
||||
target_link_libraries(tessutil_magnetize_model PUBLIC magtess)
|
||||
# 将可执行程序安装到bin
|
||||
install(TARGETS tessutil_magnetize_model RUNTIME DESTINATION bin)
|
||||
install(TARGETS tessutil_magnetize_model RUNTIME DESTINATION sbin)
|
||||
Reference in New Issue
Block a user