Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdelibs4
0001-Setup-DOCBOOKL10NHELPER_EXECUTABLE-for-min...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Setup-DOCBOOKL10NHELPER_EXECUTABLE-for-mingw32-cross.patch of Package mingw32-kdelibs4
From 349d39651a6f8b2c22d48bf84857947897b2a9d0 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Sun, 19 Jul 2015 22:23:44 +0200 Subject: [PATCH] Setup DOCBOOKL10NHELPER_EXECUTABLE for mingw32 cross compiling. --- kdoctools/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kdoctools/CMakeLists.txt b/kdoctools/CMakeLists.txt index 3585b95..75fc486 100644 --- a/kdoctools/CMakeLists.txt +++ b/kdoctools/CMakeLists.txt @@ -253,8 +253,12 @@ set( docbookl10nhelper_SRCS docbookl10nhelper.cpp ) kde4_add_executable( docbookl10nhelper NOGUI ${docbookl10nhelper_SRCS} ) target_link_libraries( docbookl10nhelper ${QT_QTCORE_LIBRARIES} ) +if(NOT CMAKE_CROSSCOMPILING) + set(DOCBOOKL10NHELPER_EXECUTABLE ${EXECUTABLE_OUTPUT_PATH}/docbookl10nhelper) +endif() + add_custom_command( TARGET docbookl10nhelper POST_BUILD - COMMAND ${EXECUTABLE_OUTPUT_PATH}/docbookl10nhelper + COMMAND ${DOCBOOKL10NHELPER_EXECUTABLE} ${DOCBOOKXSL_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/customization/xsl ${CMAKE_CURRENT_BINARY_DIR}/customization/xsl ) -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor