Fix 'make test' problem (missing environment)

This commit is contained in:
vsr 2013-11-18 12:19:40 +00:00
parent b3835d4491
commit 33685653ae

View File

@ -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})