From: Ivailo Monev Date: Fri, 29 Jan 2016 21:18:48 +0000 (+0200) Subject: export QTDIR for the tests X-Git-Tag: 4.12.0~7503 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8b379d9bd8e45e18305235e90775746d2faf229e;p=kde%2FKatie.git export QTDIR for the tests Signed-off-by: Ivailo Monev --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 14a859f19..675f9085c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,5 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/tests") +set(CTEST_ENVIRONMENT "QTDIR=${CMAKE_SOURCE_DIR}") include_directories( ${CMAKE_BINARY_DIR}/include