From 2bdb7d9072940cbc91a2c012c9dff7ae2df1af86 Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Wed, 15 Mar 2023 13:35:06 -0400 Subject: [PATCH] Disambiguate the lib install path per architecture --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4b984ab..23b253d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,8 +117,8 @@ endif() set_property(GLOBAL APPEND PROPERTY XCTest_EXPORTS XCTest) get_swift_host_arch(swift_arch) install(TARGETS XCTest - ARCHIVE DESTINATION lib/swift$<$>:_static>/$ - LIBRARY DESTINATION lib/swift$<$>:_static>/$ + ARCHIVE DESTINATION lib/swift$<$>:_static>/$/${swift_arch} + LIBRARY DESTINATION lib/swift$<$>:_static>/$/${swift_arch} RUNTIME DESTINATION bin) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/swift/XCTest.swiftdoc