Do not build tqassistantclient for native tqt build

Embed static qassistantclient library for qt3 build
pull/1/head
Slávek Banko 11 years ago
parent ea871eed7b
commit b67c2e559a

@ -217,11 +217,35 @@ tde_add_library( tqt SHARED
##### tqassistantclient (shared) ############################## ##### tqassistantclient (shared) ##############################
if ( NOT HAVE_REAL_TQT )
tde_add_library( tqassistantclient SHARED find_library( QASSISTANTCLIENT_STATIC libqassistantclient.a )
SOURCES
${IFACE}/tqassistantclient.cpp if ( QASSISTANTCLIENT_STATIC )
VERSION 4.2.0
LINK ${QT_LIBRARIES} -ltqassistantclient add_library(qassistantclient STATIC IMPORTED)
DESTINATION ${LIB_INSTALL_DIR} set_property(TARGET qassistantclient PROPERTY
) IMPORTED_LOCATION ${QASSISTANTCLIENT_STATIC})
tde_add_library( tqassistantclient SHARED
SOURCES
${IFACE}/tqassistantclient.cpp
VERSION 4.2.0
LINK ${QT_LIBRARIES}
EMBED qassistantclient
DESTINATION ${LIB_INSTALL_DIR}
)
else ( QASSISTANTCLIENT_STATIC )
tde_add_library( tqassistantclient SHARED
SOURCES
${IFACE}/tqassistantclient.cpp
VERSION 4.2.0
LINK ${QT_LIBRARIES} -lqassistantclient
DESTINATION ${LIB_INSTALL_DIR}
)
endif ( QASSISTANTCLIENT_STATIC )
endif ( NOT HAVE_REAL_TQT )

Loading…
Cancel
Save