File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ include(CheckSymbolExists)
31
31
include (GNUInstallDirs )
32
32
include (SwiftSupport )
33
33
34
- set (INSTALL_LIBDIR "lib" CACHE PATH "Path where the libraries should be installed" )
34
+ set (SWIFT_LIBDIR "lib" CACHE PATH "Library folder name, defined by swift main buildscript" )
35
+ set (INSTALL_LIBDIR "${SWIFT_LIBDIR} " CACHE PATH "Path where the libraries should be installed" )
35
36
set (WITH_BLOCKS_RUNTIME "" CACHE PATH "Path to blocks runtime" )
36
37
37
38
include (DispatchAppleOptions )
@@ -55,7 +56,7 @@ if(ENABLE_SWIFT)
55
56
string (TOLOWER ${CMAKE_SYSTEM_NAME} SWIFT_OS )
56
57
get_swift_host_arch (SWIFT_HOST_ARCH )
57
58
58
- set (SWIFT_RUNTIME_LIBDIR ${SWIFT_TOOLCHAIN} /lib /swift/${SWIFT_OS}/${SWIFT_HOST_ARCH} )
59
+ set (SWIFT_RUNTIME_LIBDIR ${SWIFT_TOOLCHAIN} /${SWIFT_LIBDIR} /swift/${SWIFT_OS}/${SWIFT_HOST_ARCH} )
59
60
60
61
add_library (swiftCore
61
62
SHARED IMPORTED GLOBAL )
You can’t perform that action at this time.
0 commit comments