swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 460 forks source link

Un-hardcode cmake install directories #783

Closed tristanlabelle closed 1 year ago

tristanlabelle commented 1 year ago

CMake install places binary files under the CMAKE_INSTALL_BINDIR subdirectory, but some CMake files hardcode bin instead (the default values). This change un-hardcodes this. This has no effect by default, but it will allow redirecting the binaries to a different output directory, which will help with packaging installers for multiple architectures in the Windows build.

compnerd commented 1 year ago

@swift-ci please test