fix:修改对freewbConversionTool的链接,不再链接lib/目录下的so

This commit is contained in:
hantengc 2024-09-10 13:37:45 +08:00
parent 735c677400
commit 3c2c75fe89
5 changed files with 1 additions and 13 deletions

View File

@ -43,10 +43,6 @@ add_definitions("-DLOCALEDIR=\"${CMAKE_INSTALL_PREFIX}/share/locale\"")
install( DIRECTORY ${PROJECT_SOURCE_DIR}/help
DESTINATION /usr/share/freewb )
install( DIRECTORY ${PROJECT_SOURCE_DIR}/lib
DESTINATION /usr/share/freewb )
configure_file(config.h.in ${CMAKE_SOURCE_DIR}/include/config.h
IMMEDIATE @ONLY)

View File

@ -1 +0,0 @@
libfreewbConversionTool.so.1

View File

@ -1 +0,0 @@
libfreewbConversionTool.so.1.0

Binary file not shown.

View File

@ -36,13 +36,7 @@ include_directories(
#
if ( "$ENV{DESKTOP_SESSION}" STREQUAL "mate" )
set( EXTERN_LIBS -ldl -lX11 -lXext -lpthread ${PROJECT_SOURCE_DIR}/../../lib/libfreewbConversionTool.so /usr/lib/aarch64-linux-gnu/libXtst.so.6.1.0 ) #
else()
set( EXTERN_LIBS -ldl -lX11 -lXtst -lXext -lpthread ${PROJECT_SOURCE_DIR}/../../lib/libfreewbConversionTool.so ) #UbuntuLinux
endif()
set( EXTERN_LIBS -ldl -lX11 -lXtst -lXext -lpthread freewbConversionTool )
#
add_executable( ${PROJECT_NAME} ${SRC_FILES} ${UI_FILES} ${QRC_FILES} )