added warning message if required headers are not found at the usual places
This commit is contained in:
parent
7f96942b62
commit
2d2bbecaf6
1 changed files with 12 additions and 0 deletions
12
Jamulus.pro
12
Jamulus.pro
|
@ -72,6 +72,12 @@ win32 {
|
|||
count(nosoundoption, 0) {
|
||||
message(Jack Audio Interface Enabled.)
|
||||
|
||||
!exists(/usr/include/jack/jack.h) {
|
||||
!exists(/usr/local/include/jack/jack.h) {
|
||||
message(Warning: jack.h was not found at the usual place, maybe the jack dev packet is missing)
|
||||
}
|
||||
}
|
||||
|
||||
HEADERS += linux/sound.h
|
||||
SOURCES += linux/sound.cpp
|
||||
DEFINES += WITH_SOUND
|
||||
|
@ -529,6 +535,12 @@ contains(CONFIG, "opus_shared_lib") {
|
|||
message(OPUS codec is used from a shared library.)
|
||||
|
||||
unix {
|
||||
!exists(/usr/include/opus/opus_custom.h) {
|
||||
!exists(/usr/local/include/opus/opus_custom.h) {
|
||||
message(Header opus_custom.h was not found at the usual place. Maybe the opus dev packet is missing.)
|
||||
}
|
||||
}
|
||||
|
||||
LIBS += -llibopus
|
||||
DEFINES += USE_OPUS_SHARED_LIB
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue