void-packages/srcpkgs/PrusaSlicer/patches/cereal-is-header-only.patch

39 lines
1.5 KiB
Diff

Index: PrusaSlicer-2.4.2/src/libslic3r/CMakeLists.txt
===================================================================
--- PrusaSlicer-2.4.2.orig/src/libslic3r/CMakeLists.txt
+++ PrusaSlicer-2.4.2/src/libslic3r/CMakeLists.txt
@@ -337,7 +337,6 @@ target_include_directories(libslic3r PUB
target_link_libraries(libslic3r
libnest2d
admesh
- cereal
libigl
miniz
boost_libs
Index: PrusaSlicer-2.4.2/src/CMakeLists.txt
===================================================================
--- PrusaSlicer-2.4.2.orig/src/CMakeLists.txt
+++ PrusaSlicer-2.4.2/src/CMakeLists.txt
@@ -125,7 +125,7 @@ if (NOT WIN32 AND NOT APPLE)
set_target_properties(PrusaSlicer PROPERTIES OUTPUT_NAME "prusa-slicer")
endif ()
-target_link_libraries(PrusaSlicer libslic3r cereal)
+target_link_libraries(PrusaSlicer libslic3r)
if (APPLE)
# add_compile_options(-stdlib=libc++)
Index: PrusaSlicer-2.4.2/src/slic3r/CMakeLists.txt
===================================================================
--- PrusaSlicer-2.4.2.orig/src/slic3r/CMakeLists.txt
+++ PrusaSlicer-2.4.2/src/slic3r/CMakeLists.txt
@@ -260,7 +260,7 @@ add_library(libslic3r_gui STATIC ${SLIC3
encoding_check(libslic3r_gui)
-target_link_libraries(libslic3r_gui libslic3r avrdude cereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES})
+target_link_libraries(libslic3r_gui libslic3r avrdude imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES})
if (MSVC)
target_link_libraries(libslic3r_gui Setupapi.lib)