Skip to content

Commit 8353b4c

Browse files
authored
Merge pull request #15797 from compnerd/crt
2 parents 3430f38 + 19aeb69 commit 8353b4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/modules/SwiftConfigureSDK.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ function(_report_sdk prefix)
1414
message(STATUS " UCRT Version: $ENV{UCRTVersion}")
1515
message(STATUS " UCRT SDK Dir: $ENV{UniversalCRTSdkDir}")
1616
message(STATUS " VC Dir: $ENV{VCToolsInstallDir}")
17+
if("${CMAKE_BUILD_TYPE}" STREQUAL "RELEASE")
18+
message(STATUS " ${CMAKE_BUILD_TYPE} VC++ CRT: MD")
19+
else()
20+
message(STATUS " ${CMAKE_BUILD_TYPE} VC++ CRT: MDd")
21+
endif()
1722

1823
foreach(arch ${SWIFT_SDK_${prefix}_ARCHITECTURES})
1924
swift_windows_include_for_arch(${arch} ${arch}_INCLUDE)

0 commit comments

Comments
 (0)