зеркало из https://github.com/nextcloud/desktop.git
Revert "Specify PUBLIC for the link targets to make them visible to windeployqt"
This reverts commit 002abdc38b
.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Родитель
ac5a277e39
Коммит
1456d6e433
|
@ -119,29 +119,24 @@ ENDIF(NOT APPLE)
|
|||
|
||||
find_package(Qt5 REQUIRED COMPONENTS WebSockets)
|
||||
add_library(${synclib_NAME} SHARED ${libsync_SRCS})
|
||||
target_link_libraries(${synclib_NAME} PUBLIC
|
||||
target_link_libraries(${synclib_NAME}
|
||||
"${csync_NAME}"
|
||||
OpenSSL::Crypto
|
||||
OpenSSL::SSL
|
||||
Qt5::Core
|
||||
Qt5::Network
|
||||
Qt5::WebSockets
|
||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||
Qt5::Core Qt5::Network
|
||||
Qt5::WebSockets
|
||||
)
|
||||
|
||||
if (NOT TOKEN_AUTH_ONLY)
|
||||
find_package(Qt5 REQUIRED COMPONENTS Widgets Svg)
|
||||
target_link_libraries(${synclib_NAME} PUBLIC
|
||||
Qt5::Widgets
|
||||
Qt5::Svg
|
||||
qt5keychain
|
||||
)
|
||||
target_link_libraries(${synclib_NAME} Qt5::Widgets Qt5::Svg qt5keychain)
|
||||
endif()
|
||||
|
||||
if(INOTIFY_FOUND)
|
||||
target_include_directories(${synclib_NAME} PRIVATE ${INOTIFY_INCLUDE_DIR})
|
||||
link_directories(${INOTIFY_LIBRARY_DIR})
|
||||
target_link_libraries(${synclib_NAME} PUBLIC ${INOTIFY_LIBRARY})
|
||||
target_link_libraries(${synclib_NAME} ${INOTIFY_LIBRARY} )
|
||||
endif()
|
||||
|
||||
GENERATE_EXPORT_HEADER( ${synclib_NAME}
|
||||
|
|
Загрузка…
Ссылка в новой задаче