Use static runtime only on option is selected

This commit is contained in:
Kim Kulling
2022-03-24 00:41:07 +01:00
committed by GitHub
parent 19f2a624a9
commit 0a56065962

View File

@@ -164,12 +164,6 @@ IF (WIN32)
$<$<CONFIG:Debug>:/MTd>
$<$<CONFIG:Release>:/MT>
)
else()
add_compile_options(
$<$<CONFIG:>:/MD>
$<$<CONFIG:Debug>:/MDd>
$<$<CONFIG:Release>:/MD>
)
endif()
ENDIF()
ENDIF()