diff options
Diffstat (limited to 'examples/caldavresource/CMakeLists.txt')
-rw-r--r-- | examples/caldavresource/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/caldavresource/CMakeLists.txt b/examples/caldavresource/CMakeLists.txt new file mode 100644 index 0000000..0057e8b --- /dev/null +++ b/examples/caldavresource/CMakeLists.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | project(sink_resource_caldav) | ||
2 | |||
3 | add_definitions(-DQT_PLUGIN) | ||
4 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
5 | |||
6 | find_package(KPimKDAV2 REQUIRED) | ||
7 | find_package(KF5CalendarCore REQUIRED) | ||
8 | |||
9 | add_library(${PROJECT_NAME} SHARED caldavresource.cpp) | ||
10 | target_link_libraries(${PROJECT_NAME} sink_webdav_common sink Qt5::Core Qt5::Network KPim::KDAV2 | ||
11 | KF5::CalendarCore) | ||
12 | |||
13 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) | ||
14 | |||
15 | add_subdirectory(tests) | ||