void-packages/srcpkgs/kdoctools/patches/cross.patch

12 lines
361 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -232,7 +232,7 @@ else()
endif()
add_custom_command( TARGET docbookl10nhelper POST_BUILD
- COMMAND $<TARGET_FILE:KF5::docbookl10nhelper>
+ COMMAND KF5::docbookl10nhelper
"${DOCBOOKXSL_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/customization/xsl"
"${CMAKE_CURRENT_BINARY_DIR}/customization/xsl"
)