diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-29 10:46:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-29 10:46:12 +0100 |
commit | d3fc35858ba4bc0c8038a8c536246b00fe648358 (patch) | |
tree | 416e79067bd12fc0b43e12f1b73ee15a62b8a5bf /media-gfx/prusaslicer/files | |
parent | 2512faa12f58e69a2f3e27e13e10fd0aef3ab384 (diff) |
gentoo auto-resync : 29:08:2022 - 10:46:12
Diffstat (limited to 'media-gfx/prusaslicer/files')
-rw-r--r-- | media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-cereal-1.3.1.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-cereal-1.3.1.patch b/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-cereal-1.3.1.patch new file mode 100644 index 000000000000..29e01422b41f --- /dev/null +++ b/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-cereal-1.3.1.patch @@ -0,0 +1,48 @@ +--- a/src/CMakeLists.txt (revision 6690d49beacd48f74bdc75633cb1e7a2280bbcfd) ++++ b/src/CMakeLists.txt (date 1661704655632) +@@ -127,7 +127,7 @@ + set_target_properties(PrusaSlicer PROPERTIES OUTPUT_NAME "prusa-slicer") + endif () + +-target_link_libraries(PrusaSlicer libslic3r cereal) ++target_link_libraries(PrusaSlicer libslic3r cereal::cereal) + + if (APPLE) + # add_compile_options(-stdlib=libc++) +--- a/src/slic3r/CMakeLists.txt (revision 6690d49beacd48f74bdc75633cb1e7a2280bbcfd) ++++ b/src/slic3r/CMakeLists.txt (date 1661704724566) +@@ -260,7 +260,7 @@ + + 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 cereal::cereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES}) + + if (MSVC) + target_link_libraries(libslic3r_gui Setupapi.lib) +--- a/src/libslic3r/CMakeLists.txt (revision 6690d49beacd48f74bdc75633cb1e7a2280bbcfd) ++++ b/src/libslic3r/CMakeLists.txt (date 1661704699199) +@@ -395,7 +395,7 @@ + target_link_libraries(libslic3r + libnest2d + admesh +- cereal ++ cereal::cereal + libigl + miniz + boost_libs +--- a/CMakeLists.txt (revision 6690d49beacd48f74bdc75633cb1e7a2280bbcfd) ++++ b/CMakeLists.txt (date 1661704556468) +@@ -446,6 +446,12 @@ + + # Find the Cereal serialization library + find_package(cereal REQUIRED) ++add_library(libcereal INTERFACE) ++if (NOT TARGET cereal::cereal) ++ target_link_libraries(libcereal INTERFACE cereal) ++else() ++ target_link_libraries(libcereal INTERFACE cereal::cereal) ++endif() + + # l10n + set(L10N_DIR "${SLIC3R_RESOURCES_DIR}/localization") |