[Cmake-commits] [cmake-commits] hoffman committed FindSWIG.cmake 1.10 1.11
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jun 17 21:46:36 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv9639
Modified Files:
FindSWIG.cmake
Log Message:
ENH: no fatal error if not required
Index: FindSWIG.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindSWIG.cmake,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** FindSWIG.cmake 10 Jan 2008 21:22:52 -0000 1.10
--- FindSWIG.cmake 18 Jun 2008 01:46:34 -0000 1.11
***************
*** 21,26 ****
RESULT_VARIABLE SWIG_swiglib_result)
! IF(SWIG_swiglib_result)
! MESSAGE(SEND_ERROR "Command \"${SWIG_EXECUTABLE} -swiglib\" failed with output:\n${SWIG_swiglib_error}")
ELSE(SWIG_swiglib_result)
STRING(REGEX REPLACE "[\n\r]+" ";" SWIG_swiglib_output ${SWIG_swiglib_output})
--- 21,30 ----
RESULT_VARIABLE SWIG_swiglib_result)
! IF(SWIG_swiglib_result)
! IF(SWIG_FIND_REQUIRED)
! MESSAGE(SEND_ERROR "Command \"${SWIG_EXECUTABLE} -swiglib\" failed with output:\n${SWIG_swiglib_error}")
! ELSE(SWIG_FIND_REQUIRED)
! MESSAGE(STATUS "Command \"${SWIG_EXECUTABLE} -swiglib\" failed with output:\n${SWIG_swiglib_error}")
! ENDIF(SWIG_FIND_REQUIRED)
ELSE(SWIG_swiglib_result)
STRING(REGEX REPLACE "[\n\r]+" ";" SWIG_swiglib_output ${SWIG_swiglib_output})
More information about the Cmake-commits
mailing list