Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2009-12-10 02:29:11 +0300
committerMikkel Krautz <mikkel@krautz.dk>2009-12-10 02:29:11 +0300
commite9f7e0a732f9a0841e3d72d1ae22f7ddf218d61f (patch)
tree8e39dc32fd87376037cc38547c2409be38a49dce /src
parente595948cc07874425fd3d131b1ccba1a49b18527 (diff)
Add no-cocoa CONFIG option, to allow Mumble to build against non-Cocoa Qt.
Diffstat (limited to 'src')
-rw-r--r--src/mumble/mumble.pro7
-rw-r--r--src/mumble11x/mumble11x.pro7
2 files changed, 10 insertions, 4 deletions
diff --git a/src/mumble/mumble.pro b/src/mumble/mumble.pro
index f996a2228..29b8a69a5 100644
--- a/src/mumble/mumble.pro
+++ b/src/mumble/mumble.pro
@@ -145,8 +145,11 @@ unix {
HEADERS *= GlobalShortcut_macx.h ConfigDialogDelegate.h
SOURCES *= TextToSpeech_macx.cpp Overlay_unix.cpp GlobalShortcut_macx.cpp os_macx.cpp
- SOURCES -= ConfigDialog.cpp
- SOURCES += ConfigDialog.mm ConfigDialogDelegate.mm
+
+ !CONFIG(no-cocoa) {
+ SOURCES -= ConfigDialog.cpp
+ SOURCES += ConfigDialog.mm ConfigDialogDelegate.mm
+ }
# CoreAudio
LIBS += -framework CoreAudio -framework AudioUnit -framework AudioToolbox
diff --git a/src/mumble11x/mumble11x.pro b/src/mumble11x/mumble11x.pro
index bdd0ea860..80fd8fbb0 100644
--- a/src/mumble11x/mumble11x.pro
+++ b/src/mumble11x/mumble11x.pro
@@ -139,8 +139,11 @@ unix {
HEADERS *= GlobalShortcut_macx.h ConfigDialogDelegate.h
SOURCES *= TextToSpeech_macx.cpp Overlay_unix.cpp GlobalShortcut_macx.cpp os_macx.cpp
- SOURCES -= ConfigDialog.cpp
- SOURCES *= ConfigDialog.mm ConfigDialogDelegate.mm
+
+ !CONFIG(no-cocoa) {
+ SOURCES -= ConfigDialog.cpp
+ SOURCES *= ConfigDialog.mm ConfigDialogDelegate.mm
+ }
# CoreAudio
!isEmpty(HAVE_PORTAUDIO) {