diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-10-10 05:02:50 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-10-10 05:02:50 +0000 |
commit | 6602789a480462235e416253144b3bec29f1c729 (patch) | |
tree | 866d91a6e6fde1de59572c5427deaea3e66acb22 /cmake/modules/FindXSLTPROC.cmake | |
parent | aa57e00210ff872b2b6e69fba928489f90410c6e (diff) |
Fix using fop from CMake
svn path=/trunk/; revision=52484
Diffstat (limited to 'cmake/modules/FindXSLTPROC.cmake')
-rw-r--r-- | cmake/modules/FindXSLTPROC.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindXSLTPROC.cmake b/cmake/modules/FindXSLTPROC.cmake index fbbb200ed4..a8a70dcf2f 100644 --- a/cmake/modules/FindXSLTPROC.cmake +++ b/cmake/modules/FindXSLTPROC.cmake @@ -99,7 +99,7 @@ ENDMACRO(XML2HTML) # custom_layer_pdf.xsl # A4 or letter #) -MACRO(XML2PDF _output _sources _stylesheet _paper) +MACRO(XML2PDF _FOP_EXECUTABLE _output _sources _stylesheet _paper) # FIXME: How do I extract the first element of a variable containing a # list of values? Isn't there a "cleaner" solution? # Oh, and I have no idea why I can't directly use _source instead of @@ -122,7 +122,7 @@ MACRO(XML2PDF _output _sources _stylesheet _paper) # FIXME: The images for tip, warning and note (and maybe more of those) # are not found by fop. I have no idea why "system" images don't work # the way other images work. - COMMAND ${FOP_EXECUTABLE} + COMMAND ${_FOP_EXECUTABLE} ${_output}.fo ${_output} DEPENDS |