Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdoctools
kdoctools-5.103.0-use-meinproc5_executable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdoctools-5.103.0-use-meinproc5_executable.patch of Package mingw32-kdoctools
diff -ur kdoctools-5.103.0.orig/KF5DocToolsMacros.cmake kdoctools-5.103.0/KF5DocToolsMacros.cmake --- kdoctools-5.103.0.orig/KF5DocToolsMacros.cmake 2023-02-05 10:21:07.000000000 +0100 +++ kdoctools-5.103.0/KF5DocToolsMacros.cmake 2024-07-02 22:59:59.908092508 +0200 @@ -61,7 +61,11 @@ # set(KDOCTOOLS_SERIALIZE_TOOL "" CACHE STRING "Tool to serialize resource-intensive commands in parallel builds") -set(KDOCTOOLS_MEINPROC_EXECUTABLE "KF5::meinproc5") +if(CMAKE_CROSSCOMPILING AND MEINPROC5_EXECUTABLE) + set(KDOCTOOLS_MEINPROC_EXECUTABLE ${MEINPROC5_EXECUTABLE}) +else() + set(KDOCTOOLS_MEINPROC_EXECUTABLE "KF5::meinproc5") +endif() if(KDOCTOOLS_SERIALIZE_TOOL) # parallel build with many meinproc invocations can consume a huge amount of memory @@ -125,7 +129,7 @@ endforeach() add_custom_command(OUTPUT ${build_doc} - COMMAND ${KDOCTOOLS_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} --cache ${build_doc} ${src_doc} + COMMAND ${KDOCTOOLS_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} --output ${build_doc} ${src_doc} DEPENDS ${src_docs} ${_ssheet} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
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