Skip to content

Commit 26e327b

Browse files
committed
Plugins::FtpServer: modify install QFtpServerLib in android
1 parent 0149769 commit 26e327b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Plugins/FtpServer/CMakeLists.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,8 @@ ADD_PLUGIN_TARGET(NAME PluginService${PROJECT_NAME}
7070
VERSION ${RabbitRemoteControl_VERSION}
7171
)
7272

73-
#add_dependencies(PluginService${PROJECT_NAME} QFtpServerLib)
73+
add_dependencies(PluginService${PROJECT_NAME} QFtpServerLib)
7474
option(INSTALL_QFtpServer "Install QFtpServer libraries" OFF)
7575
if(INSTALL_QFtpServer AND QFtpServerLib_FOUND)
76-
if(ANDROID)
77-
set_target_properties(PluginService${PROJECT_NAME} PROPERTIES
78-
QT_ANDROID_EXTRA_LIBS $<TARGET_SONAME_FILE:QFtpServerLib>)
79-
else()
80-
INSTALL_TARGETS(TARGETS QFtpServerLib)
81-
endif()
76+
INSTALL_TARGETS(NAME PluginService${PROJECT_NAME} TARGETS QFtpServerLib)
8277
endif()

0 commit comments

Comments
 (0)