glocq / Amati

GNU General Public License v3.0
33 stars 4 forks source link

Added Default Faust paths for OSX build #7

Closed jdsierral closed 3 years ago

jdsierral commented 3 years ago

The CMakeLists.txt file doesn't work as is in OS X given that the default path for Faust is not considered in the project structure.

Adding an include_directores directive seems like the right approach and link it to the default path. Also the path of the library itself is not found, hence the explicit description of the location of the library.

I'm not sure if this last one breaks the linux install!

glocq commented 3 years ago

Thanks a lot!

There is probably a way to look for default locations that does look into /usr/local/lib/, but I don't know better (btw, shouldn't we look into /usr/lib/ too? But then would it cause a problem if there was no Faust library in either lib/?)

In any case, this does not break the Linux install, and I take it it makes the plugin build on at least one more machine!