Commit 2a8c7976 authored by Albert Astals Cid's avatar Albert Astals Cid

Move the add_subdirectoy before the set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )

Otherwise the binary is created in a dir ctest can't find it and fails to execute it
parent d38c3af2
set(QT_REQUIRED_VERSION "5.2.0")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test Widgets)
add_subdirectory(messagetests)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
# TODO apparently QTEST_AKONADIMAIN doesn't like NO_CASTs...
......@@ -49,4 +51,3 @@ if (KDEPIMLIBS_RUN_KDEPIMRUNTIME_ISOLATED_TESTS)
endif()
add_subdirectory(benchmarker)
add_subdirectory(messagetests)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment