master
David Lanzendörfer 2021-11-19 14:24:26 +00:00
parent 576be0e7c2
commit 6c15ddb1f3
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
project(pEpDBusAdapter)
option(BUILD_PLAIN_IMPLEMENTATION "Build basic DBus C++" ON)
include_directories(${PROJECT_SOURCE_DIR}/types)
############################ Server glue ###########################
@ -38,6 +40,7 @@ set_target_properties(pEpDBusAdapterClient PROPERTIES
VISIBILITY_INLINES_HIDDEN 0
)
if(BUILD_PLAIN_IMPLEMENTATION)
add_library(pEpDBusAdapter SHARED pep-dbus-adapter.cpp ${PROJECT_BINARY_DIR}/pep-server-glue.h)
target_link_libraries(pEpDBusAdapter
pEpEngine
@ -87,8 +90,9 @@ target_link_libraries(tests
)
configure_file(security.pep.service.in ${CMAKE_CURRENT_BINARY_DIR}/security.pep.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/security.pep.service
DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR})
install(TARGETS pep-dbus-server pEpDBusAdapterClient pEpDBusAdapterServer)
endif(BUILD_PLAIN_IMPLEMENTATION)