16 lines
881 B
Diff
16 lines
881 B
Diff
|
diff '--color=auto' -urN OrcaSlicer-2.0.0.orig/CMakeLists.txt OrcaSlicer-2.0.0/CMakeLists.txt
|
||
|
--- OrcaSlicer-2.0.0.orig/CMakeLists.txt 2024-03-30 03:10:30.000000000 +0100
|
||
|
+++ OrcaSlicer-2.0.0/CMakeLists.txt 2024-06-28 14:36:37.343289495 +0200
|
||
|
@@ -71,6 +71,11 @@
|
||
|
option(SLIC3R_BUILD_TESTS "Build unit tests" OFF)
|
||
|
option(ORCA_TOOLS "Build Orca tools" OFF)
|
||
|
|
||
|
+set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--copy-dt-needed-entries")
|
||
|
+set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--copy-dt-needed-entries")
|
||
|
+set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--copy-dt-needed-entries")
|
||
|
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_LOG_DYN_LINK")
|
||
|
+
|
||
|
if (IS_CROSS_COMPILE)
|
||
|
message("Detected cross compilation setup. Tests and encoding checks will be forcedly disabled!")
|
||
|
set(SLIC3R_PERL_XS OFF CACHE BOOL "" FORCE)
|