diff options
Diffstat (limited to 'app/doc/hhc.cmake.in')
-rw-r--r-- | app/doc/hhc.cmake.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/doc/hhc.cmake.in b/app/doc/hhc.cmake.in index e9f0656..947b1da 100644 --- a/app/doc/hhc.cmake.in +++ b/app/doc/hhc.cmake.in @@ -1,9 +1,9 @@ -EXECUTE_PROCESS( +execute_process( COMMAND "@HTML_HELP_COMPILER@" xtrkcad.hhp - RESULT_VARIABLE RESULTS - OUTPUT_VARIABLE OUTPUT - ERROR_VARIABLE ERROR + RESULT_VARIABLE results + ERROR_VARIABLE error ) -MESSAGE("${OUTPUT}") -MESSAGE("${ERROR}") +if(NOT "${results}" STREQUAL "1") + message(FATAL_ERROR "Creating chm failed! ${error}") +endif() |