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

1
.gitignore vendored
View File

@ -54,3 +54,4 @@ dkms.conf
build/
.vscode/
.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)
#
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)
# /opt/bin/tess