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/maildirresource/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/maildirresource/tests') diff --git a/examples/maildirresource/tests/CMakeLists.txt b/examples/maildirresource/tests/CMakeLists.txt index b3e4050..867b56d 100644 --- a/examples/maildirresource/tests/CMakeLists.txt +++ b/examples/maildirresource/tests/CMakeLists.txt @@ -2,6 +2,7 @@ set(CMAKE_AUTOMOC ON) include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) +add_definitions(-DTESTDATAPATH="${CMAKE_CURRENT_SOURCE_DIR}/data") include(SinkTest) -- cgit v1.2.3