comparison ui/tests/CMakeLists.txt @ 580:cf7e82e91875

Do not fail when creating the link fails. Just warn.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 27 May 2014 10:29:05 +0000
parents aee3eb10bbba
children 2fd4f9980a2a
comparison
equal deleted inserted replaced
579:f4ce4eef3b38 580:cf7e82e91875
97 endif() 97 endif()
98 execute_process(COMMAND ${command} 98 execute_process(COMMAND ${command}
99 RESULT_VARIABLE result 99 RESULT_VARIABLE result
100 ERROR_VARIABLE output) 100 ERROR_VARIABLE output)
101 if (NOT ${result} EQUAL 0) 101 if (NOT ${result} EQUAL 0)
102 message(FATAL_ERROR "Could not create symbolic link for: ${target} --> ${output}") 102 message(STATUS "Could not create symbolic link for: ${target} --> ${output}. NSS Test might fail.")
103 endif() 103 endif()
104 endif() 104 endif()
105 endif() 105 endif()
106 106
107 #add_custom_test(${CMAKE_SOURCE_DIR}/ui/main.cpp "${TRUSTBRIDGE_SOURCES}") 107 #add_custom_test(${CMAKE_SOURCE_DIR}/ui/main.cpp "${TRUSTBRIDGE_SOURCES}")

http://wald.intevation.org/projects/trustbridge/