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