Skip to content

Commit

Permalink
CMake: fix FaceRecognizer.sh exec module
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Aug 16, 2023
1 parent a423e71 commit e10b52d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion App/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if(UNIX AND NOT ANDROID)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/share/FaceRecognizer.desktop
DESTINATION "share/applications"
COMPONENT Runtime)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/share/FaceRecognizer.sh
INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/share/FaceRecognizer.sh
DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT Runtime)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Resource/image/FaceRecognizer.png
Expand Down
10 changes: 5 additions & 5 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ case "$1" in
fi
#echo "/opt/FaceRecognizer/lib" > /etc/ld.so.conf.d/FaceRecognizer.conf
#echo "/opt/FaceRecognizer/bin" >> /etc/ld.so.conf.d/FaceRecognizer.conf
export QT_VERSION_DIR=
if [ -n "${QT_VERSION_DIR}" ]; then
echo "/opt/qt${QT_VERSION_DIR}/lib" >> /etc/ld.so.conf.d/FaceRecognizer.conf
fi
ldconfig
#export QT_VERSION_DIR=
#if [ -n "${QT_VERSION_DIR}" ]; then
# echo "/opt/qt${QT_VERSION_DIR}/lib" >> /etc/ld.so.conf.d/FaceRecognizer.conf
#fi
#ldconfig
;;

abort-upgrade|abort-remove|abort-deconfigure)
Expand Down

0 comments on commit e10b52d

Please sign in to comment.