changed to static library type

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
feat/improvements
Emanoil Kotsev 4 months ago
parent fa084fcf02
commit 4b20e27f32
No known key found for this signature in database
GPG Key ID: F1EEB8CD9FB16A50

@ -59,14 +59,9 @@ make_moc ( sessionProxy )
make_moc ( settingsProxy )
make_moc ( propertiesProxy )
#tde_add_library( portalinterfaces STATIC_PIC AUTOMOC
# SOURCES
# LINK ${DBUS_TQT_LIBRARIES} tdecore-shared
#)
##### tdexdgdesktopportal (shared) ###########################
##### tdexdgdesktopportal (static) ###########################
tde_add_library( tdexdgdesktopportal SHARED AUTOMOC
tde_add_library( tdexdgdesktopportal STATIC_PIC AUTOMOC
SOURCES ${xdgportal_SRCS} ${session_SRCS}
VERSION ${LIBRARY_VERSION}
LINK ${DBUS_TQT_LIBRARIES} tdecore-shared
@ -95,12 +90,12 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xdg-desktop-portal-tde.desktop
#)
##### install headers ###################################
install(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DESTINATION ${INCLUDE_INSTALL_DIR}/tdexdgdesktopportal
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN PATTERN "*.h"
PATTERN "CMakeFiles" EXCLUDE
)
#
#install(
# DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
# DESTINATION ${INCLUDE_INSTALL_DIR}/tdexdgdesktopportal
# USE_SOURCE_PERMISSIONS
# FILES_MATCHING PATTERN PATTERN "*.h"
# PATTERN "CMakeFiles" EXCLUDE
#)

Loading…
Cancel
Save