Warning, /pim/sink/examples/maildirresource/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 project(sink_resource_maildir)
0002 
0003 include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
0004 
0005 find_package(KF5 COMPONENTS REQUIRED Mime)
0006 
0007 add_library(${PROJECT_NAME} SHARED facade.cpp maildirresource.cpp libmaildir/maildir.cpp libmaildir/keycache.cpp)
0008 target_link_libraries(${PROJECT_NAME} sink Qt5::Core Qt5::Network KF5::Mime)
0009 
0010 install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH} RUNTIME DESTINATION ${SINK_RESOURCE_PLUGINS_PATH})
0011 
0012 if (WIN32)
0013     message("Not building maildir resource tests on windows")
0014 else()
0015     add_subdirectory(tests)
0016 endif()