1 | | macro_optional_find_package(PulseAudio 0.9.16) |
2 | | set_package_properties(PulseAudio PROPERTIES DESCRIPTION "PulseAudio Audio Server" |
3 | | URL "http://www.pulseaudio.org/" |
4 | | TYPE OPTIONAL |
5 | | PURPOSE "libpulse is needed for audio setup GUI" |
6 | | ) |
7 | | |
8 | | find_package(GLIB2) |
9 | | set_package_properties(GLIB2 PROPERTIES DESCRIPTION "Low-level core library for data structure handling, portability wrappers, etc." |
10 | | URL "http://www.gtk.org" |
11 | | TYPE OPTIONAL |
12 | | ) |
13 | | |
14 | | pkg_check_modules(CANBERRA libcanberra) |
15 | | add_feature_info ("Audio setup GUI" CANBERRA_FOUND |
16 | | "libcanberra is needed for audio setup GUI |
17 | | * http://0pointer.de/lennart/projects/libcanberra" |
18 | | ) |
| 1 | if(NOT APPLE) |
| 2 | macro_optional_find_package(PulseAudio 0.9.16) |
| 3 | set_package_properties(PulseAudio PROPERTIES DESCRIPTION "PulseAudio Audio Server" |
| 4 | URL "http://www.pulseaudio.org/" |
| 5 | TYPE OPTIONAL |
| 6 | PURPOSE "libpulse is needed for audio setup GUI" |
| 7 | ) |
| 8 | |
| 9 | find_package(GLIB2) |
| 10 | set_package_properties(GLIB2 PROPERTIES DESCRIPTION "Low-level core library for data structure handling, portability wrappers, etc." |
| 11 | URL "http://www.gtk.org" |
| 12 | TYPE OPTIONAL |
| 13 | ) |
| 14 | |
| 15 | pkg_check_modules(CANBERRA libcanberra) |
| 16 | add_feature_info ("Audio setup GUI" CANBERRA_FOUND |
| 17 | "libcanberra is needed for audio setup GUI |
| 18 | * http://0pointer.de/lennart/projects/libcanberra" |
| 19 | ) |
| 20 | endif(NOT APPLE) |