Only build devicediscovery on linux systems
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Tue, 29 May 2012 07:32:04 +0000 (09:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 May 2012 17:54:25 +0000 (19:54 +0200)
libudev and linux/input.h are Linux specific. Instead of add a !*bsd*
to the pro line I have decided to only check for linux-*. This is fixing
the compilation on FreeBSD.

Change-Id: If59481421e811eca205407031db593e00b6e8534
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
src/platformsupport/devicediscovery/devicediscovery.pri

index 9004198..822b8d4 100644 (file)
@@ -1,4 +1,4 @@
-unix:!mac {
+linux-* {
     HEADERS += $$PWD/qdevicediscovery_p.h
 
     contains(QT_CONFIG, libudev) {