From 317a136b78130bfd9bf6dbd03e8167a030b17d5b Mon Sep 17 00:00:00 2001 From: Owen O'Malley Date: Mon, 28 Oct 2019 13:50:31 -0700 Subject: [PATCH] ORC-565: Set path to example files for c++/tests. --- c++/test/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt index 11e8cf4b1b..ea39023894 100644 --- a/c++/test/CMakeLists.txt +++ b/c++/test/CMakeLists.txt @@ -74,10 +74,15 @@ else () add_test (NAME orc-test COMMAND orc-test) endif () +set_property(TEST orc-test + PROPERTY + ENVIRONMENT "ORC_EXAMPLE_DIR=${EXAMPLE_DIRECTORY}" + ) + if (WIN32) set_property( TEST orc-test - PROPERTY + APPEND PROPERTY ENVIRONMENT "TZDIR=${TZDATA_DIR}" ) endif ()