summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-11-18 08:50:27 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-11-18 08:50:27 (GMT)
commit08e4485dbbad8d0d9d56847724ebbe9616361fbb (patch)
tree715f74798f2cc2882b11dc552abd62006a9e158c
parent6e0b03fd72de37893568bf6aaf2d650ab51a8849 (diff)
Fix cross build support for KDE4 variant of welcome page.
-rw-r--r--doc/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index bd2a1d4..5a8ea54 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,6 +1,10 @@
if (NOT BUILD_KF5)
set(KDOCTOOLS_CUSTOMIZATION_DIR "${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization")
- set(KDOCTOOLS_MEINPROC_EXECUTABLE meinproc4)
+ if(DEFINED KDE4_MEINPROC_EXECUTABLE)
+ set(KDOCTOOLS_MEINPROC_EXECUTABLE ${KDE4_MEINPROC_EXECUTABLE})
+ else()
+ set(KDOCTOOLS_MEINPROC_EXECUTABLE meinproc4)
+ endif()
else()
set(KDOCTOOLS_CUSTOMIZATION_DIR "${KDOCTOOLS_DATA_INSTALL_DIR}/kdoctools/customization")
endif()