Commit Graph

3 Commits

Author SHA1 Message Date
Reinhold Gschweicher a3fea2fe91 cmake: fix backend defines
- directly use the options WITH_ALSA et al
- link missing pulse-simple library
2020-02-17 23:39:23 +01:00
NeroBurner 4b32f65268 Let CMake be more strict
replace the DISABLE_XXX flags with WITH_XXX flags
- DISABLE_ALSA -> WITH_ALSA
- DISABLE_PULSEAUDIO -> WITH_PULSEAUDIO
- DISABLE_JACK -> WITH_JACK

Default the DISABLE_XXX flags to true.

If one of the dependencies of an enabled dependency is missing exit with
error.

Fixes: https://github.com/quiniouben/vban/issues/45
2020-02-17 15:26:48 +01:00
Reinhold Gschweicher 80f2fa51b6 Add CMake build system support 2020-02-15 23:25:35 +01:00