src/CMakeLists.txt: add an option to disable plugins build
commit4bbf06627af302086ac42d1d09a668e4cf21d984
authorJulien Olivain <ju.o@free.fr>
Tue, 21 Dec 2021 21:38:39 +0000 (21 22:38 +0100)
committerMark McCurry <mark.d.mccurry@gmail.com>
Sun, 26 Dec 2021 18:50:47 +0000 (26 13:50 -0500)
tree5a552f53a87e0bff4d9f8c1eed8d6cc6eae02325
parent859e359523e57cd75ec3b1249d722364d690d56e
src/CMakeLists.txt: add an option to disable plugins build

Plugins build need the "lv2-ttl-generator" tool. When cross compiling,
the tool binary execution will fail, stopping the build. This patch
add an option to disable plugins to avoid the issue. Cross compilation
is mostly needed for embedded systems. In this case, only the core
binary without GUI is generally needed, without plugins.

To preserve the original behavior, plugins are enabled by default.

Signed-off-by: Julien Olivain <ju.o@free.fr>
src/CMakeLists.txt