mirror of https://github.com/FreeRDP/FreeRDP
cmake: Fix man page generation
Archlinux has used this patch for three years already to fix the man page generation. Cherry-pick it to include the fix upstream too. See also: https://bugs.archlinux.org/task/64814 Co-authored-by: David Runge <dvzrv@archlinux.org>
This commit is contained in:
parent
000f32d48a
commit
966ad9777e
|
@ -30,7 +30,7 @@ if (NOT DOCBOOKXSL_DIR)
|
|||
set (STYLESHEET_PATH_LIST)
|
||||
foreach (STYLESHEET_PREFIX_ITER ${CMAKE_SYSTEM_PREFIX_PATH})
|
||||
file(GLOB STYLESHEET_SUFFIX_ITER RELATIVE ${STYLESHEET_PREFIX_ITER}
|
||||
${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*
|
||||
${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*-nons
|
||||
)
|
||||
if (STYLESHEET_SUFFIX_ITER)
|
||||
list (APPEND STYLESHEET_PATH_LIST ${STYLESHEET_SUFFIX_ITER})
|
||||
|
|
Loading…
Reference in New Issue