]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix 'make test' problem (missing environment)
authorvsr <vsr@opencascade.com>
Mon, 18 Nov 2013 12:19:40 +0000 (12:19 +0000)
committervsr <vsr@opencascade.com>
Mon, 18 Nov 2013 12:19:40 +0000 (12:19 +0000)
src/XAO/tests/CMakeLists.txt

index 244bccbaf0832d11885ebd2f2893d27ca0a935a8..9a1a748e850da83edf809e6d1dc8124be7b5ec7a 100644 (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})