added a cmake hack for finding asciidoc when using recent archlinux
This commit is contained in:
parent
7303ec9a6b
commit
1f3f6102f1
1 changed files with 2 additions and 1 deletions
|
@ -109,9 +109,10 @@ if(NOT XSLTPROC_EXECUTABLE)
|
|||
set(TRANSLATION_TOOLS_FOUND false)
|
||||
endif(NOT XSLTPROC_EXECUTABLE)
|
||||
|
||||
# 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