llvm-project/flang/cmake/modules
John Ericson 44e3365775 [CMake] Factor out config prefix finding logic
See the docs in the new function for details.

 I think I found every instance of this copy pasted code. Polly could
 also use it, but currently does something different, so I will save the
 behavior change for a future revision.

We get the shared, non-installed CMake modules following the pattern
established in D116472.

It might be good to have LLD and Flang also use this, but that would be
a functional change and so I leave it as future work.

Reviewed By: beanz, lebedev.ri

Differential Revision: https://reviews.llvm.org/D116521
2022-01-07 20:16:18 +00:00
..
AddFlang.cmake [flang] Use `GNUInstallDirs` to support custom installation dirs. 2021-12-31 18:58:35 +00:00
CMakeLists.txt [CMake] Factor out config prefix finding logic 2022-01-07 20:16:18 +00:00
FlangConfig.cmake.in [cmake] Add support for multiple distributions 2021-05-12 11:13:18 -07:00