From f4b9bb3e15a9a8201bfaf47a07b2cca439080a5a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 28 May 2018 14:27:42 +0200 Subject: Avoid building tests that link to the resource on windows. Because we'd have to properly export the symbols for the linking on windows to work. --- examples/imapresource/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/imapresource') diff --git a/examples/imapresource/CMakeLists.txt b/examples/imapresource/CMakeLists.txt index 61b86ed..478ce2f 100644 --- a/examples/imapresource/CMakeLists.txt +++ b/examples/imapresource/CMakeLists.txt @@ -12,4 +12,8 @@ target_link_libraries(${PROJECT_NAME} sink Qt5::Core Qt5::Network KF5::Mime KIMA install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH} RUNTIME DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) -add_subdirectory(tests) +if (WIN32) + message("Not building imap resource tests on windows") +else() + add_subdirectory(tests) +endif() -- cgit v1.2.3