support CONFIG+=nosound
This commit is contained in:
parent
d54db20f23
commit
888b354a42
1 changed files with 10 additions and 4 deletions
|
@ -27,6 +27,11 @@ win32 {
|
||||||
-framework AudioToolbox \
|
-framework AudioToolbox \
|
||||||
-framework AudioUnit
|
-framework AudioUnit
|
||||||
} else:unix {
|
} else:unix {
|
||||||
|
# only include jack support if CONFIG nosound is not set
|
||||||
|
nosoundoption = $$find(CONFIG, "nosound")
|
||||||
|
count(nosoundoption, 0) {
|
||||||
|
message(Jack Audio Interface Enabled.)
|
||||||
|
|
||||||
HEADERS += linux/sound.h
|
HEADERS += linux/sound.h
|
||||||
SOURCES += linux/sound.cpp
|
SOURCES += linux/sound.cpp
|
||||||
|
|
||||||
|
@ -34,6 +39,7 @@ win32 {
|
||||||
|
|
||||||
LIBS += -ljack
|
LIBS += -ljack
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RCC_DIR = src/res
|
RCC_DIR = src/res
|
||||||
RESOURCES += src/resources.qrc
|
RESOURCES += src/resources.qrc
|
||||||
|
|
Loading…
Reference in a new issue