mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
37751b480f
* gnu/packages/patches/podofo-cmake-3.12.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/pdf.scm (podofo)[source]: Add patch.
19 lines
797 B
Diff
19 lines
797 B
Diff
The build fails with cmake 3.12.0. This patch will be obsolete with the next
|
|
release.
|
|
|
|
https://sourceforge.net/p/podofo/tickets/24/attachment/podofo-cmake-3.12.patch
|
|
|
|
|
|
--- a/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:26:02.921494293 +0200
|
|
+++ b/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:34:53.727136443 +0200
|
|
@@ -2,10 +2,3 @@
|
|
TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS})
|
|
SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}")
|
|
ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET})
|
|
-
|
|
-# Copy the test samples over to the build tree
|
|
-ADD_CUSTOM_COMMAND(
|
|
- TARGET TokenizerTest
|
|
- POST_BUILD
|
|
- COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects"
|
|
- )
|