summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-23 02:32:28 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-23 02:36:30 (GMT)
commit954bb17f9033eee11aec4501fb5a1d382cebe378 (patch)
tree93a917c2afe2a42f1c52fb75465fab7a6bd0f8ef /src/plugins/bearer
parentb4c01c73ebed43838a1342c17ea129865c9b9a2e (diff)
downloadQt-954bb17f9033eee11aec4501fb5a1d382cebe378.zip
Qt-954bb17f9033eee11aec4501fb5a1d382cebe378.tar.gz
Qt-954bb17f9033eee11aec4501fb5a1d382cebe378.tar.bz2
Quiet unnecessary configure/qmake warnings when EPOCROOT is not set.
Warnings are unnecessary when not building for Symbian. Task-number: QTBUG-9156
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/symbian/symbian.pro18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/plugins/bearer/symbian/symbian.pro b/src/plugins/bearer/symbian/symbian.pro
index 9613def..f915570 100644
--- a/src/plugins/bearer/symbian/symbian.pro
+++ b/src/plugins/bearer/symbian/symbian.pro
@@ -10,14 +10,16 @@ SOURCES += symbianengine.cpp \
qnetworksession_impl.cpp \
main.cpp
-exists($${EPOCROOT}epoc32/release/winscw/udeb/cmmanager.lib)| \
-exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
- message("Building with SNAP support")
- DEFINES += SNAP_FUNCTIONALITY_AVAILABLE
- LIBS += -lcmmanager
-} else {
- message("Building without SNAP support")
- LIBS += -lapengine
+symbian {
+ exists($${EPOCROOT}epoc32/release/winscw/udeb/cmmanager.lib)| \
+ exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
+ message("Building with SNAP support")
+ DEFINES += SNAP_FUNCTIONALITY_AVAILABLE
+ LIBS += -lcmmanager
+ } else {
+ message("Building without SNAP support")
+ LIBS += -lapengine
+ }
}
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE