Skip to content

Commit c7ae8c9

Browse files
compnerdetcwilde
andauthored
Apply suggestions from code review
Co-authored-by: Evan Wilde <[email protected]>
1 parent 530378a commit c7ae8c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtimes/Core/cmake/modules/PlatformInfo.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ if(NOT SwiftCore_PLATFORM_SUBDIR)
3030
endif()
3131

3232
if(NOT SwiftCore_ARCH_SUBDIR)
33-
string(JSON platform GET "${target_info_json}" "target" "arch")
34-
set(SwiftCore_PLATFORM_SUBDIR "${platform}" CACHE STRING "Architecture name used for installed swift{doc,module,interface} files")
35-
mark_as_advanced(SwiftCore_PLATFORM_SUBDIR)
33+
string(JSON arch GET "${target_info_json}" "target" "arch")
34+
set(SwiftCore_ARCH_SUBDIR "${arch}" CACHE STRING "Architecture used for setting the architecture subdirectory")
35+
mark_as_advanced(SwiftCore_ARCH_SUBDIR)
3636

37-
message(CONFIGURE_LOG "Swift platform: ${platform}")
37+
message(CONFIGURE_LOG "Swift Arch: ${arch}")
3838
endif()

0 commit comments

Comments
 (0)