Skip to content

Commit efe8040

Browse files
committed
Merge pull request #2665 from bitjammer/remote-mirror-install-target-library
AddSwift.cmake: Install into resource dir based on TARGET_LIBRARY
2 parents 09f943a + 2a81691 commit efe8040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ function(add_swift_library name)
12241224
message(FATAL_ERROR "internal error: the variable should be non-empty")
12251225
endif()
12261226

1227-
if(SWIFTLIB_IS_STDLIB)
1227+
if(SWIFTLIB_TARGET_LIBRARY)
12281228
if(SWIFTLIB_SHARED)
12291229
set(resource_dir "swift")
12301230
set(file_permissions

0 commit comments

Comments
 (0)