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:30 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:30 +0200
commita14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (patch)
treee469179df67a0e0db49161a43cbf8076a189f6f4 /app/doc/hhc.cmake.in
parent5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff)
New upstream version 5.3.0GAupstream/5.3.0GAupstream
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()