ports/audio/csound/files/patch-cmake_Modules_FindFAUST.cmake
Yuri Victorovich d1bf378aa0 audio/csound: 6.12.2 -> 6.12.2-83
Reported by:	GH issue notification
2018-12-12 19:57:07 +00:00

11 lines
625 B
CMake

--- 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)