Commit efd3ef9a authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Quote xsltproc arguments

Should fix build on Windows when there are spaces in path.
parent 4cb1338f
......@@ -17,9 +17,9 @@ macro(kcfg_generate_dbus_interface _kcfg _name)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_name}.xml
COMMAND ${XSLTPROC_EXECUTABLE} --stringparam interfaceName ${_name}
${Akonadi_SOURCE_DIR}/src/core/kcfg2dbus.xsl
${_kcfg}
> ${CMAKE_CURRENT_BINARY_DIR}/${_name}.xml
"${Akonadi_SOURCE_DIR}/src/core/kcfg2dbus.xsl"
"${_kcfg}"
> "${CMAKE_CURRENT_BINARY_DIR}/${_name}.xml"
DEPENDS ${Akonadi_SOURCE_DIR}/src/core/kcfg2dbus.xsl
${_kcfg}
)
......
......@@ -17,15 +17,15 @@ add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/entities.h
${CMAKE_CURRENT_BINARY_DIR}/entities.cpp
COMMAND ${XSLTPROC_EXECUTABLE}
--output ${CMAKE_CURRENT_BINARY_DIR}/entities.h
--output "${CMAKE_CURRENT_BINARY_DIR}/entities.h"
--stringparam code header
${CMAKE_CURRENT_SOURCE_DIR}/storage/entities.xsl
${AKONADI_DB_SCHEME}
"${AKONADI_DB_SCHEME}"
COMMAND ${XSLTPROC_EXECUTABLE}
--output ${CMAKE_CURRENT_BINARY_DIR}/entities.cpp
--output "${CMAKE_CURRENT_BINARY_DIR}/entities.cpp"
--stringparam code source
${CMAKE_CURRENT_SOURCE_DIR}/storage/entities.xsl
${AKONADI_DB_SCHEME}
"${CMAKE_CURRENT_SOURCE_DIR}/storage/entities.xsl"
"${AKONADI_DB_SCHEME}"
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/storage/entities.xsl
${CMAKE_CURRENT_SOURCE_DIR}/storage/entities-header.xsl
${CMAKE_CURRENT_SOURCE_DIR}/storage/entities-source.xsl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment