Skip to content

Commit

Permalink
prusa-slicer: Move boost log link from patch to args
Browse files Browse the repository at this point in the history
  • Loading branch information
cbat98 committed Nov 26, 2024
1 parent 94cd3c4 commit fc6f9d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 0 additions & 10 deletions pkgs/applications/misc/prusa-slicer/281-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,3 @@ index 78369233d..1f9c40aaf 100644
)

if (MSVC)
diff --git a/tests/sla_print/CMakeLists.txt b/tests/sla_print/CMakeLists.txt
index b244e76ac..b23f6d4bc 100644
--- a/tests/sla_print/CMakeLists.txt
+++ b/tests/sla_print/CMakeLists.txt
@@ -18,3 +18,5 @@ endif()

# catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ")
add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${CATCH_EXTRA_ARGS})
+
+add_definitions(-DBOOST_LOG_DYN_LINK)
1 change: 1 addition & 0 deletions pkgs/applications/misc/prusa-slicer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ stdenv.mkDerivation (finalAttrs: {
"-DSLIC3R_STATIC=0"
"-DSLIC3R_FHS=1"
"-DSLIC3R_GTK=3"
"-DCMAKE_CXX_FLAGS=-DBOOST_LOG_DYN_LINK"
];

postInstall = ''
Expand Down

0 comments on commit fc6f9d1

Please sign in to comment.