Support MinSizeRel and RelWithDebInfo build on Windows. (#586)

This commit is contained in:
Fangjun Kuang
2024-02-20 10:22:02 +08:00
committed by GitHub
parent 3d2c7fad74
commit 5f075d0fce
6 changed files with 50 additions and 36 deletions

View File

@@ -86,6 +86,8 @@ if(NOT BUILD_SHARED_LIBS AND MSVC)
$<$<CONFIG:>:/MT> #---------|
$<$<CONFIG:Debug>:/MTd> #---|-- Statically link the runtime libraries
$<$<CONFIG:Release>:/MT> #--|
$<$<CONFIG:RelWithDebInfo>:/MT>
$<$<CONFIG:MinSizeRel>:/MT>
)
endif()
endif()