mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-03 17:28:18 +02:00
Determine docbook.xsl path on windows from meinproc4 executable.
This commit is contained in:
parent
0958631378
commit
f7e976540b
1 changed files with 7 additions and 1 deletions
|
|
@ -26,7 +26,13 @@ endif (MEINPROC_EXECUTABLE OR XMLTO_EXECUTABLE)
|
|||
if (MEINPROC_EXECUTABLE)
|
||||
set(DOCBOOK_GENERATOR_NAME "meinproc4" PARENT_SCOPE)
|
||||
set(DBUS_XML_DOCS_ENABLED 1)
|
||||
set(STYLESHEET "${CMAKE_INSTALL_PREFIX}/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl")
|
||||
if(WIN32)
|
||||
get_filename_component(_a ${MEINPROC_EXECUTABLE} PATH)
|
||||
get_filename_component(_meinproc_install_path ${_a} PATH)
|
||||
else(WIN32)
|
||||
set(_meinproc_install_path ${CMAKE_INSTALL_PREFIX})
|
||||
endif(WIN32)
|
||||
set(STYLESHEET "${_meinproc_install_path}/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl")
|
||||
endif (MEINPROC_EXECUTABLE)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue