mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 05:17:19 +00:00
Fix Linux build
This commit is contained in:
@@ -1095,7 +1095,7 @@ function(orcaslicer_copy_dlls target config postfix output_dlls)
|
||||
|
||||
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}")
|
||||
message ("set out_dir to CMAKE_CURRENT_BINARY_DIR: ${_out_dir}")
|
||||
|
||||
@@ -284,11 +284,11 @@ else ()
|
||||
if (NOT APPLE)
|
||||
set(output_sos_Release "")
|
||||
set(output_sos_Debug "")
|
||||
add_custom_target(BambuStudioSosCopy ALL DEPENDS BambuStudio)
|
||||
add_custom_target(OrcaSlicerSosCopy ALL DEPENDS OrcaSlicer)
|
||||
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()
|
||||
bambustudio_copy_sos(BambuStudioSosCopy "Release" "" output_sos_Release)
|
||||
orcaslicer_copy_sos(OrcaSlicerSosCopy "Release" "" output_sos_Release)
|
||||
endif()
|
||||
endif()
|
||||
if (APPLE AND NOT CMAKE_MACOSX_BUNDLE)
|
||||
|
||||
Reference in New Issue
Block a user