File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ include(CheckLibraryExists)
2222include (CheckSymbolExists)
2323include (GNUInstallDirs)
2424
25- set (CMAKE_INSTALL_LIBDIR lib CACHE PATH "Path where the libraries should be installed" )
25+ set (INSTALL_LIBDIR " lib" CACHE PATH "Path where the libraries should be installed" )
2626set (WITH_BLOCKS_RUNTIME "" CACHE PATH "Path to blocks runtime" )
2727
2828include (DispatchAppleOptions)
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ install(FILES
1414 source .h
1515 time.h
1616 DESTINATION
17- "${CMAKE_INSTALL_LIBDIR } /swift/dispatch" )
17+ "${INSTALL_LIBDIR } /swift/dispatch" )
1818if (ENABLE_SWIFT)
1919 get_filename_component (MODULE_MAP module.modulemap REALPATH)
2020 install (FILES
2121 ${MODULE_MAP}
2222 DESTINATION
23- "${CMAKE_INSTALL_LIBDIR } /swift/dispatch" )
23+ "${INSTALL_LIBDIR } /swift/dispatch" )
2424endif ()
2525
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ install(FILES
66 object.h
77 linux_base.h
88 DESTINATION
9- "${CMAKE_INSTALL_LIBDIR } /swift/os" )
9+ "${INSTALL_LIBDIR } /swift/os" )
1010
Original file line number Diff line number Diff line change @@ -202,12 +202,12 @@ add_custom_command(TARGET dispatch POST_BUILD
202202install (TARGETS
203203 dispatch
204204 DESTINATION
205- "${CMAKE_INSTALL_LIBDIR } /swift/${SWIFT_OS} " )
205+ "${INSTALL_LIBDIR } /swift/${SWIFT_OS} " )
206206if (ENABLE_SWIFT)
207207 install (FILES
208208 ${CMAKE_CURRENT_BINARY_DIR} /swift/Dispatch.swiftmodule
209209 ${CMAKE_CURRENT_BINARY_DIR} /swift/Dispatch.swiftdoc
210210 DESTINATION
211- "${CMAKE_INSTALL_LIBDIR } /swift/${SWIFT_OS} /${CMAKE_SYSTEM_PROCESSOR} " )
211+ "${INSTALL_LIBDIR } /swift/${SWIFT_OS} /${CMAKE_SYSTEM_PROCESSOR} " )
212212endif ()
213213
You can’t perform that action at this time.
0 commit comments