vp-build/srcpkgs/cura-engine/patches/cmake.patch

28 lines
820 B
Diff

From 5aad55bf67e52ce5bdb27a3925af8a4cab441b38 Mon Sep 17 00:00:00 2001
From: Ghostkeeper <rubend@tutanota.com>
Date: Mon, 18 Jun 2018 15:39:01 +0200
Subject: [PATCH] Remove outdated copy of command_line_settings.json
This entire directory doesn't exist.
---
CMakeLists.txt | 5 -----
1 file changed, 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c579388f..4c55e6f39 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -251,11 +251,6 @@ if (BUILD_TESTS)
endforeach()
endif()
-
-add_custom_command(TARGET CuraEngine POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_directory
- ${CMAKE_SOURCE_DIR}/resources $<TARGET_FILE_DIR:CuraEngine>)
-
# Installing CuraEngine.
include(GNUInstallDirs)
install(TARGETS CuraEngine DESTINATION ${CMAKE_INSTALL_BINDIR})