From: vsr Date: Mon, 18 Nov 2013 12:19:40 +0000 (+0000) Subject: Fix 'make test' problem (missing environment) X-Git-Tag: BR_hydro_v_0_3_1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33685653aead7813f3a25fe2d901311a24c641d5;p=modules%2Fgeom.git Fix 'make test' problem (missing environment) --- 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})