Skip to content

Commit 8baa21f

Browse files
committed
Use the found xsltproc
Do not assume xsltproc is in PATH, and use the executable discovered by find_program(). Fixes htacg#1065
1 parent d08ddc2 commit 8baa21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ if (UNIX AND SUPPORT_CONSOLE_APP)
546546
add_custom_command(
547547
TARGET man
548548
DEPENDS ${TIDYHELP}
549-
COMMAND xsltproc ARGS ${TIDY1XSL} ${TIDYHELP} > ${CMAKE_CURRENT_BINARY_DIR}/${TIDY_MANFILE}
549+
COMMAND ${XSLTPROC_FOUND} ARGS ${TIDY1XSL} ${TIDYHELP} > ${CMAKE_CURRENT_BINARY_DIR}/${TIDY_MANFILE}
550550
COMMENT "Generate ${TIDY_MANFILE}"
551551
VERBATIM
552552
)

0 commit comments

Comments
 (0)