aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-10-10 08:41:14 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-10-10 08:41:14 +0000
commit7af36bb2db33a44ddd6ab9f8a352e8c885a947f5 (patch)
treeb148214bda0e46f5bfe625486814d1e11f46f2c7 /cmake
parenta77e3754c90e9d6e04b9a61a4bcf830a2efab57b (diff)
Revert "Fix using fop from CMake"
This reverts commit r52484 svn path=/trunk/; revision=52488
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindXSLTPROC.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindXSLTPROC.cmake b/cmake/modules/FindXSLTPROC.cmake
index a8a70dcf2f..fbbb200ed4 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 _FOP_EXECUTABLE _output _sources _stylesheet _paper)
+MACRO(XML2PDF _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 _FOP_EXECUTABLE _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