added a cmake hack for finding asciidoc when using recent archlinux
This commit is contained in:
parent
051b7a0450
commit
d491415bbf
1 changed files with 2 additions and 1 deletions
|
@ -101,9 +101,10 @@ set(XSLTPROC_OPTIONS
|
|||
--stringparam html.stylesheet "./styles/manual.css"
|
||||
)
|
||||
|
||||
# added a hack to find asciidoc when using latest archlinux by searching inside the python site packages...
|
||||
find_path(ASCIIDOC_DOCBOOK_XSL_PATH
|
||||
xhtml.xsl
|
||||
HINTS /usr/share/asciidoc/docbook-xsl /etc/asciidoc/docbook-xsl /opt/local/etc/asciidoc/docbook-xsl
|
||||
HINTS /usr/share/asciidoc/docbook-xsl /etc/asciidoc/docbook-xsl /opt/local/etc/asciidoc/docbook-xsl /usr/lib/*/site-packages/asciidoc/resources/docbook-xsl
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
if(NOT ASCIIDOC_DOCBOOK_XSL_PATH)
|
||||
|
|
Loading…
Add table
Reference in a new issue