diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/doc/hhc.cmake.in | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
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() |