mirror of
https://github.com/boostorg/boost_install.git
synced 2026-01-19 04:02:13 +00:00
Map MinSizeRel and RelWithDebInfo to Release
This commit is contained in:
@@ -323,6 +323,18 @@ rule generate-cmake-variant- ( target : sources * : properties * )
|
||||
""
|
||||
: true ;
|
||||
|
||||
if $(variant) = release
|
||||
{
|
||||
print.text
|
||||
|
||||
"set_target_properties($(target) PROPERTIES"
|
||||
" MAP_IMPORTED_CONFIG_MINSIZEREL Release"
|
||||
" MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release"
|
||||
" )"
|
||||
""
|
||||
: true ;
|
||||
}
|
||||
|
||||
if $(link) = shared
|
||||
{
|
||||
print.text
|
||||
|
||||
Reference in New Issue
Block a user