mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 10:06:08 +08:00
Fix RelWithDebInfo build on Linux
This commit is contained in:
parent
d481feda13
commit
eee20e23e1
@ -271,13 +271,15 @@ if(NOT SLIC3R_STATIC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
function(slic3r_remap_configs targets from_Cfg to_Cfg)
|
function(slic3r_remap_configs targets from_Cfg to_Cfg)
|
||||||
string(TOUPPER ${from_Cfg} from_CFG)
|
if(MSVC)
|
||||||
|
string(TOUPPER ${from_Cfg} from_CFG)
|
||||||
foreach(tgt ${targets})
|
|
||||||
if(TARGET ${tgt})
|
foreach(tgt ${targets})
|
||||||
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
if(TARGET ${tgt})
|
||||||
endif()
|
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
||||||
endforeach()
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if(TARGET Boost::system)
|
if(TARGET Boost::system)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user