gnucash-docs master: Fix build error introduced in most recent merge

Geert Janssens gjanssens at code.gnucash.org
Sun Aug 21 16:25:27 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/1723d8a2 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/484dc57c (commit)



commit 1723d8a28a5c74694e7c7476eb151e08e3e8cf7c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Aug 21 22:23:26 2022 +0200

    Fix build error introduced in most recent merge

diff --git a/cmake/AddXdgHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake
index e453ae36..3cc31ca5 100644
--- a/cmake/AddXdgHelpTarget.cmake
+++ b/cmake/AddXdgHelpTarget.cmake
@@ -57,7 +57,8 @@ function (add_xdghelp_target docname lang entities figures)
         add_custom_command(
             OUTPUT ${dest_figures}
             COMMAND ${CMAKE_COMMAND} -E copy ${source_figures} "${BUILD_DIR}/figures"
-        DEPENDS ${source_figures} "${CMAKE_CURRENT_BINARY_DIR}/xdgghelptrigger")
+            DEPENDS ${source_figures} "${CMAKE_CURRENT_BINARY_DIR}/xdgghelptrigger")
+    endif()
 
     add_custom_target("${lang}-${docname}-xdghelp"
         DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger"



Summary of changes:
 cmake/AddXdgHelpTarget.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list