File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ project(SwiftSyntax LANGUAGES C Swift)
15
15
set (SWIFT_VERSION 5 )
16
16
set (CMAKE_Swift_LANGUAGE_VERSION ${SWIFT_VERSION} )
17
17
18
- set (CMAKE_Swift_MODULE_DIRECTORY ${CMAKE_BINARY_DIR} /swift )
18
+ # The subdirectory into which host libraries will be installed.
19
+ set (SWIFT_HOST_LIBRARIES_SUBDIRECTORY "swift/host" )
19
20
20
- set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /lib )
21
- set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /lib )
22
- set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin )
21
+ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib/${SWIFT_HOST_LIBRARIES_SUBDIRECTORY} " )
22
+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /lib/${SWIFT_HOST_LIBRARIES_SUBDIRECTORY} " )
23
23
24
24
set (CMAKE_MACOSX_RPATH YES )
25
25
You can’t perform that action at this time.
0 commit comments