[trunk] When no output PGX file is found, report an error

This commit is contained in:
Mathieu Malaterre 2014-02-26 14:23:30 +00:00
parent 8f4d674442
commit 97c376e06d
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@
#message("2: ${FILENAME}")
file(GLOB globfiles "Temporary/${FILENAME}*.pgx" )
#message("6: ${globfiles}")
if(NOT globfiles)
message(SEND_ERROR "Could not find output PGX files: ${FILENAME}")
endif()
# REFFILE follow what md5sum -c would expect as input:
file(READ ${REFFILE} variable)