Skip to content

Commit dc1624d

Browse files
committed
build: style updates (NFC)
Adjust the CMakeLists.txt to match the rest of the usage.
1 parent 3e280b8 commit dc1624d

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -451,20 +451,16 @@ function(add_swift_host_library name)
451451
LIBRARY_DIR ${SWIFT_LIBRARY_OUTPUT_INTDIR})
452452

453453
if(SWIFT_HOST_VARIANT_SDK IN_LIST SWIFT_APPLE_PLATFORMS)
454-
set_target_properties(${name}
455-
PROPERTIES
454+
set_target_properties(${name} PROPERTIES
456455
INSTALL_NAME_DIR "@rpath")
457456
elseif(SWIFT_HOST_VARIANT_SDK STREQUAL LINUX)
458-
set_target_properties(${name}
459-
PROPERTIES
457+
set_target_properties(${name} PROPERTIES
460458
INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux")
461459
elseif(SWIFT_HOST_VARIANT_SDK STREQUAL CYGWIN)
462-
set_target_properties(${name}
463-
PROPERTIES
460+
set_target_properties(${name} PROPERTIES
464461
INSTALL_RPATH "$ORIGIN:/usr/lib/swift/cygwin")
465462
elseif(SWIFT_HOST_VARIANT_SDK STREQUAL "ANDROID")
466-
set_target_properties(${name}
467-
PROPERTIES
463+
set_target_properties(${name} PROPERTIES
468464
INSTALL_RPATH "$ORIGIN")
469465
endif()
470466

0 commit comments

Comments
 (0)