summarylogtreecommitdiffstats
path: root/faust-api-breakage.diff
blob: 336f6cede28dc0963909579039eaa0843c339aec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c885a6..ec23833 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,9 +74,9 @@ if(INSTALLED_FAUST)
     ## also do a more general search in standard locations as a fallback.
     get_filename_component(FAUST_LIBRARY_DIR ${FAUST_LIBRARY} DIRECTORY)
     if(FAUST_LIBRARY_DIR)
-      find_path(FAUST_INCLUDE_DIR faust/dsp/llvm-c-dsp.h HINTS "${FAUST_LIBRARY_DIR}/../include" DOC "Faust include directory" NO_DEFAULT_PATH)
+      find_path(FAUST_INCLUDE_DIR faust/dsp/llvm-dsp-c.h HINTS "${FAUST_LIBRARY_DIR}/../include" DOC "Faust include directory" NO_DEFAULT_PATH)
       if(NOT FAUST_INCLUDE_DIR)
-	find_path(FAUST_INCLUDE_DIR faust/dsp/llvm-c-dsp.h DOC "Faust include directory" REQUIRED)
+	find_path(FAUST_INCLUDE_DIR faust/dsp/llvm-dsp-c.h DOC "Faust include directory" REQUIRED)
       endif()
       find_path(FAUSTLIB all.lib HINTS "${FAUST_LIBRARY_DIR}/../share/faust" DOC "Faust library files" NO_DEFAULT_PATH)
       if(NOT FAUSTLIB)
@@ -84,7 +84,7 @@ if(INSTALLED_FAUST)
       endif()
     endif()
     message(STATUS "Found installed Faust library at: ${FAUST_LIBRARY}")
-    if(FAUST_INCLUDE_DIR AND EXISTS "${FAUST_INCLUDE_DIR}/faust/dsp/llvm-c-dsp.h")
+    if(FAUST_INCLUDE_DIR AND EXISTS "${FAUST_INCLUDE_DIR}/faust/dsp/llvm-dsp-c.h")
       message(STATUS "Found installed Faust include files at: ${FAUST_INCLUDE_DIR}")
     else()
       message(FATAL_ERROR "Faust include files not found, maybe you specified the wrong FAUST_INCLUDE_DIR directory? Otherwise try using the included Faust instead (INSTALLED_FAUST=OFF).")
diff --git a/src/faust_tilde_ui.c b/src/faust_tilde_ui.c
index 1d1d1db..6c06617 100644
--- a/src/faust_tilde_ui.c
+++ b/src/faust_tilde_ui.c
@@ -6,7 +6,7 @@
 
 
 #include "faust_tilde_ui.h"
-#include <faust/dsp/llvm-c-dsp.h>
+#include <faust/dsp/llvm-dsp-c.h>
 #include <string.h>
 #include <ctype.h>
 #include <float.h>
diff --git a/src/faustgen_tilde.c b/src/faustgen_tilde.c
index becf76c..2bb9314 100644
--- a/src/faustgen_tilde.c
+++ b/src/faustgen_tilde.c
@@ -21,7 +21,7 @@
 #if 0
 #define FAUSTFLOAT t_sample
 #endif
-#include <faust/dsp/llvm-c-dsp.h>
+#include <faust/dsp/llvm-dsp-c.h>
 
 #include "faust_tilde_ui.h"
 #include "faust_tilde_io.h"