Files
Fabrice de GansandGitHub 27e280f69e [cmake] Install libraries in standard directories (#685)
* [cmake] Install libraries in standard directories

Previously, libraries were installed under `lib/swift/${os}/`. They
should be installed in the default library directory for the relevant
target system.
In addition, swiftmodules were installed in the older layout format on
non-Darwin platforms. This changes to use the standard modern layout
format for swiftmodules.

* Use full triple for swiftmodule filenames

* Extract Swift_MODULE_TRIPLE from the function

* Fail early in case the triple cannot be found

* Enable C language before using GNUInstallDirs

* Add C language in project definition

Enabling the C language after Swift was causing issues with using the C
compiler.
2025-02-03 09:13:09 -08:00
..