void-packages/srcpkgs/podofo/patches/remove-copy_directory.patch

14 lines
624 B
Diff

--- test/TokenizerTest/CMakeLists.txt 2007-09-16 11:33:38.000000000 +0200
+++ test/TokenizerTest/CMakeLists.txt 2018-08-13 21:31:29.943414615 +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"
- )