Fix RelWithDebInfo build on Linux
This commit is contained in:
parent
d481feda13
commit
eee20e23e1
1 changed files with 9 additions and 7 deletions
|
@ -271,6 +271,7 @@ if(NOT SLIC3R_STATIC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
function(slic3r_remap_configs targets from_Cfg to_Cfg)
|
function(slic3r_remap_configs targets from_Cfg to_Cfg)
|
||||||
|
if(MSVC)
|
||||||
string(TOUPPER ${from_Cfg} from_CFG)
|
string(TOUPPER ${from_Cfg} from_CFG)
|
||||||
|
|
||||||
foreach(tgt ${targets})
|
foreach(tgt ${targets})
|
||||||
|
@ -278,6 +279,7 @@ function(slic3r_remap_configs targets from_Cfg to_Cfg)
|
||||||
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if(TARGET Boost::system)
|
if(TARGET Boost::system)
|
||||||
|
|
Loading…
Reference in a new issue