[trunk] When no output PGX file is found, report an error
This commit is contained in:
parent
8f4d674442
commit
97c376e06d
|
@ -21,6 +21,9 @@
|
||||||
#message("2: ${FILENAME}")
|
#message("2: ${FILENAME}")
|
||||||
file(GLOB globfiles "Temporary/${FILENAME}*.pgx" )
|
file(GLOB globfiles "Temporary/${FILENAME}*.pgx" )
|
||||||
#message("6: ${globfiles}")
|
#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:
|
# REFFILE follow what md5sum -c would expect as input:
|
||||||
file(READ ${REFFILE} variable)
|
file(READ ${REFFILE} variable)
|
||||||
|
|
Loading…
Reference in New Issue