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 @@ -117,12 +117,12 @@ endif()
117117set_property (GLOBAL APPEND PROPERTY XCTest_EXPORTS XCTest)
118118get_swift_host_arch(swift_arch)
119119install (TARGETS XCTest
120- ARCHIVE DESTINATION lib /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >
121- LIBRARY DESTINATION lib /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >
122- RUNTIME DESTINATION bin )
120+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >
121+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >
122+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
123123install (FILES
124124 ${CMAKE_CURRENT_BINARY_DIR} /swift/XCTest.swiftdoc
125125 ${CMAKE_CURRENT_BINARY_DIR} /swift/XCTest.swiftmodule
126- DESTINATION lib /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >/${swift_arch} )
126+ DESTINATION ${CMAKE_INSTALL_LIBDIR} /swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >/${swift_arch} )
127127
128128add_subdirectory (cmake/modules)
You can’t perform that action at this time.
0 commit comments