update cmakelists

This commit is contained in:
张壹 2021-09-10 13:25:56 +08:00
parent 5ad4c9c025
commit edb1a853ad
3 changed files with 3 additions and 5 deletions

3
.gitignore vendored
View File

@ -53,4 +53,5 @@ dkms.conf
build/ build/
.vscode/ .vscode/
.DS_Store .DS_Store
*.sh

View File

@ -1,3 +0,0 @@
#!/bin/bash
sudo stow --dir=/opt/stow --target=/usr/local tess

View File

@ -12,7 +12,7 @@ macro(add_tools name)
# #
add_executable(${name} ${name}.c) add_executable(${name} ${name}.c)
# #
set_target_properties(${name} PROPERTIES INSTALL_RPATH ${PACKAGE_PREFIX_DIR}/lib) set_target_properties(${name} PROPERTIES INSTALL_RPATH /usr/local/lib)
# #
target_link_libraries(${name} PUBLIC tess) target_link_libraries(${name} PUBLIC tess)
# /opt/bin/tess # /opt/bin/tess