From 556f850ef347e48482bbb662f7ea714fdbd4bf50 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 13 Mar 2025 15:46:25 -0700 Subject: [PATCH] build: avoid doubly nesting the swift module We always install the swift module into the platform directory. The additional nesting is not required. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9415b43e..be403839 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ include(PlatformInfo) option(XCTest_INSTALL_NESTED_SUBDIR "Install libraries under a platform and architecture subdirectory" NO) set(XCTest_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}/swift$<$>:_static>/${XCTest_PLATFORM_SUBDIR}$<$:/${XCTest_ARCH_SUBDIR}>") -set(XCTest_INSTALL_SWIFTMODULEDIR "${CMAKE_INSTALL_LIBDIR}/swift$<$>:_static>/${XCTest_PLATFORM_SUBDIR}$<$:/${XCTest_PLATFORM_SUBDIR}>") +set(XCTest_INSTALL_SWIFTMODULEDIR "${CMAKE_INSTALL_LIBDIR}/swift$<$>:_static>/${XCTest_PLATFORM_SUBDIR}") if(UNIX) enable_language(C)