blob: d554b2cd42c161b6072d4f8043980f0de59523a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- cmake/Modules/FindFAUST.cmake.orig 2018-12-12 19:23:43 UTC
+++ cmake/Modules/FindFAUST.cmake
@@ -27,7 +27,7 @@ if(FAUST_FOUND)
# This is a static build of faust, hence
# we have to add all the LLVM flags...
- find_program(LLVM_CONFIG llvm-config HINTS /usr/bin /usr/local/bin /usr/local/opt/llvm/bin)
+ find_program(LLVM_CONFIG llvm-config${FAUST_LLVM_VERSION} HINTS /usr/bin /usr/local/bin /usr/local/opt/llvm/bin)
if(NOT LLVM_CONFIG)
message(WARNING "Using a static Faust library requires LLVM tooling to be present in the path.")
UNSET(FAUST_FOUND)
|