Fix Linux build

This commit is contained in:
Noisyfox
2026-08-13 18:57:39 +08:00
parent 482da7288f
commit 43ec8805b1
2 changed files with 4 additions and 4 deletions

View File

@@ -1095,7 +1095,7 @@ function(orcaslicer_copy_dlls target config postfix output_dlls)
endfunction() endfunction()
function(bambustudio_copy_sos target config postfix output_sos) function(orcaslicer_copy_sos target config postfix output_sos)
set(_out_dir "${CMAKE_CURRENT_BINARY_DIR}") set(_out_dir "${CMAKE_CURRENT_BINARY_DIR}")
message ("set out_dir to CMAKE_CURRENT_BINARY_DIR: ${_out_dir}") message ("set out_dir to CMAKE_CURRENT_BINARY_DIR: ${_out_dir}")

View File

@@ -284,11 +284,11 @@ else ()
if (NOT APPLE) if (NOT APPLE)
set(output_sos_Release "") set(output_sos_Release "")
set(output_sos_Debug "") set(output_sos_Debug "")
add_custom_target(BambuStudioSosCopy ALL DEPENDS BambuStudio) add_custom_target(OrcaSlicerSosCopy ALL DEPENDS OrcaSlicer)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
bambustudio_copy_sos(BambuStudioSosCopy "Debug" "d" output_sos_Debug) orcaslicer_copy_sos(OrcaSlicerSosCopy "Debug" "d" output_sos_Debug)
else() else()
bambustudio_copy_sos(BambuStudioSosCopy "Release" "" output_sos_Release) orcaslicer_copy_sos(OrcaSlicerSosCopy "Release" "" output_sos_Release)
endif() endif()
endif() endif()
if (APPLE AND NOT CMAKE_MACOSX_BUNDLE) if (APPLE AND NOT CMAKE_MACOSX_BUNDLE)