diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-28 14:27:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-28 14:27:42 +0200 |
commit | f4b9bb3e15a9a8201bfaf47a07b2cca439080a5a (patch) | |
tree | 8672ddcc98760c03c5bd91daac1fdd931c7bff41 /examples/maildirresource/CMakeLists.txt | |
parent | 90900beea1092ca3cd194ee88b0c2e26244c2ba6 (diff) | |
download | sink-f4b9bb3e15a9a8201bfaf47a07b2cca439080a5a.tar.gz sink-f4b9bb3e15a9a8201bfaf47a07b2cca439080a5a.zip |
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.
Diffstat (limited to 'examples/maildirresource/CMakeLists.txt')
-rw-r--r-- | examples/maildirresource/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/maildirresource/CMakeLists.txt b/examples/maildirresource/CMakeLists.txt index 94910cb..1379363 100644 --- a/examples/maildirresource/CMakeLists.txt +++ b/examples/maildirresource/CMakeLists.txt | |||
@@ -9,6 +9,8 @@ target_link_libraries(${PROJECT_NAME} sink Qt5::Core Qt5::Network KF5::Mime) | |||
9 | 9 | ||
10 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH} RUNTIME DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) | 10 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH} RUNTIME DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) |
11 | 11 | ||
12 | add_definitions(-DTESTDATAPATH="${CMAKE_CURRENT_SOURCE_DIR}/tests/data") | 12 | if (WIN32) |
13 | 13 | message("Not building maildir resource tests on windows") | |
14 | add_subdirectory(tests) | 14 | else() |
15 | add_subdirectory(tests) | ||
16 | endif() | ||