Browse Source

Add flag

master
David Lanzendörfer 2 weeks ago
parent
commit
6c15ddb1f3
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      CMakeLists.txt

+ 5
- 1
CMakeLists.txt 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)

Loading…
Cancel
Save