From 33685653aead7813f3a25fe2d901311a24c641d5 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 18 Nov 2013 12:19:40 +0000 Subject: [PATCH] Fix 'make test' problem (missing environment) --- src/XAO/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XAO/tests/CMakeLists.txt b/src/XAO/tests/CMakeLists.txt index 244bccbaf..9a1a748e8 100644 --- a/src/XAO/tests/CMakeLists.txt +++ b/src/XAO/tests/CMakeLists.txt @@ -56,5 +56,6 @@ SET(TestXAO_SOURCES ADD_EXECUTABLE(TestXAO ${TestXAO_SOURCES}) TARGET_LINK_LIBRARIES(TestXAO ${_link_LIBRARIES}) ADD_TEST(TestXAO TestXAO) +SET_TESTS_PROPERTIES(TestXAO PROPERTIES ENVIRONMENT "GEOM_SRC_DIR=${PROJECT_SOURCE_DIR}") INSTALL(TARGETS TestXAO DESTINATION ${SALOME_INSTALL_BINS}) -- 2.39.2