- endif()
- endif()
- if(NOT ConfigureOutput)
- set(found 0)
- foreach(_r ${ignoreRegexp})
- if(_l MATCHES "${_r}")
- set(found 1)
- break()
- endif()
- endforeach()
- if(NOT found)
- message(STATUS "Error line = ${_l}")
- # It is error, because the error-line does not match
- # any ignoring expression
- set(_erg 1)
+ elseif(_l MATCHES "Warning: Document class not available")
+ set(DocumentClassNotAvailable 1)
+ else()
+ # here neither ConfigureOutput nor DocumentClassNotAvailable is set
+ # so we can scan for other warnings/errors
+ set(found 0)
+ foreach(_r ${ignoreRegexp})
+ if(_l MATCHES "${_r}")
+ set(found 1)
+ break()
+ endif()
+ endforeach()
+ if(NOT found)
+ message(STATUS "Error line = ${_l}")
+ # It is error, because the error-line does not match
+ # any ignoring expression
+ set(_erg 1)
+ endif()