• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8941 (tree)
Time2020-10-03 00:45:05
Authorzmatsuo

Log Message

perlが実行できないときエラーが出るようにした

Change Summary

Incremental Difference

--- trunk/CMakeLists.txt (revision 8940)
+++ trunk/CMakeLists.txt (revision 8941)
@@ -115,7 +115,11 @@
115115 execute_process(
116116 COMMAND ${PERL} svnrev.pl --svn \"${Subversion_SVN_EXECUTABLE}\" --git \"${GIT_EXECUTABLE}\" --root ${CMAKE_SOURCE_DIR} --header ${CMAKE_BINARY_DIR}/teraterm/ttpdlg/svnversion.h --cmake ${CMAKE_BINARY_DIR}/build_config.cmake
117117 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/svnrev_perl
118+ RESULT_VARIABLE rv
118119 )
120+ if(NOT rv STREQUAL "0")
121+ message(FATAL_ERROR "execute error ${PERL}")
122+ endif()
119123 endif()
120124 include(${CMAKE_BINARY_DIR}/build_config.cmake)
121125 message("revision=\"${SVNVERSION}\"")
Show on old repository browser