ports/cad/libbgcode/files/patch-deps_heatshrink_heatshrink.cmake
Michael Zhilin 9784fb237c cad/libbgcode: new port
It is required by PrusaSlicer 2.7+. This port provides library and
binary to work with g-code (read/write/convert)

Reported by: Teodor Sigaev <teodorsigaev@gmail.com>
Reviewed by: lwhsu (mentor)
Sponsored by: Postgres Professional
Differential Revision: https://reviews.freebsd.org/D44257
2024-03-28 22:31:42 +03:00

12 lines
598 B
CMake

--- deps/heatshrink/heatshrink.cmake.orig 2023-11-16 13:57:12 UTC
+++ deps/heatshrink/heatshrink.cmake
@@ -1,6 +1,5 @@
add_cmake_project(heatshrink
- URL https://github.com/atomicobject/heatshrink/archive/refs/tags/v0.4.1.zip
- URL_HASH SHA256=2e2db2366bdf36cb450f0b3229467cbc6ea81a8c690723e4227b0b46f92584fe
+ URL file://../../heatshrink-0.4.1
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt ./CMakeLists.txt &&
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in ./Config.cmake.in
-)
\ No newline at end of file
+)