diff options
author | Dylan Baker <[email protected]> | 2019-05-22 15:49:01 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-06-27 22:12:02 +0000 |
commit | 0ba0c0c15c633a5a3b7a4651a743f800f30bcbf6 (patch) | |
tree | a9d126d57218cf20d0d1aaeaa49070bd6e857ccb /src/SConscript | |
parent | 5157a4276500c77e2210e853b262be1d1b30aedf (diff) |
meson: try to use cmake as a finder for clang
Clang (like LLVM), very annoyingly refuses to provide pkg-config, and
only provides cmake (unlike LLVM which at least provides llvm-config,
even if llvm-config is terrible). Meson has gained the ability to use
cmake to find dependencies, and can successfully find Clang. This change
attempts to use cmake to find clang instead of a bunch of library
searches, when paired with -Dcmake_prefix_path we can much more reliably
use cmake to control which clang we're getting. This is only enabled for
meson >= 0.51, which adds the required options.
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions