1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: Chow Loong Jin <hyperair@debian.org>
Date: Fri, 25 Feb 2022 15:21:38 +0800
Subject: Drop -lcereal
libcereal in Debian has become a header-only library, so drop the link
---
src/CMakeLists.txt | 2 +-
src/libslic3r/CMakeLists.txt | 1 -
src/slic3r/CMakeLists.txt | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c6ddf2e..621e7b6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -141,7 +141,7 @@ if (NOT WIN32 AND NOT APPLE)
endif ()
-target_link_libraries(PrusaSlicer PRIVATE libslic3r libcereal slic3r-arrange-wrapper libseqarrange stb_image)
+target_link_libraries(PrusaSlicer PRIVATE libslic3r slic3r-arrange-wrapper libseqarrange stb_image)
if (APPLE)
# add_compile_options(-stdlib=libc++)
diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt
index 51e54ff..da4c05c 100644
--- a/src/libslic3r/CMakeLists.txt
+++ b/src/libslic3r/CMakeLists.txt
@@ -615,7 +615,6 @@ find_package(nlohmann_json REQUIRED)
target_link_libraries(libslic3r PRIVATE
libnest2d
- libcereal
boost_libs
clipper
libexpat
diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt
index 8ff4661..44d9ba8 100644
--- a/src/slic3r/CMakeLists.txt
+++ b/src/slic3r/CMakeLists.txt
@@ -444,7 +444,6 @@ target_link_libraries(
libslic3r
slic3r-arrange-wrapper
avrdude
- libcereal
imgui
libvgcode
GLEW::GLEW
|