summaryrefslogtreecommitdiff
path: root/app/doc/hhc.cmake.in
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:36 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:36 +0200
commitb6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (patch)
tree9804282102f8c40d27407b9c94119b35eeb5013c /app/doc/hhc.cmake.in
parentc9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff)
parenta14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (diff)
Update upstream source from tag 'upstream/5.3.0GA'
Update to upstream version '5.3.0GA' with Debian dir dfd14d63b0238e276ade6f54dd9100325df5b2f9
Diffstat (limited to 'app/doc/hhc.cmake.in')
-rw-r--r--app/doc/hhc.cmake.in12
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()