summaryrefslogtreecommitdiffstats
path: root/cmake/dbus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-06 20:51:02 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-06 20:51:02 +0000
commit4b876d8cb40cc3e682ef842e6af60b4d88d03f46 (patch)
treea237457323f63b7726e60d6a70742971a4cf190e /cmake/dbus
parent51e88a912a893ffc45298cc0ddca3b556193570f (diff)
* cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
cmake/CMakeLists.txt: win32 compile fix
Diffstat (limited to 'cmake/dbus')
-rw-r--r--cmake/dbus/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt
index 754c5cb2..839554bf 100644
--- a/cmake/dbus/CMakeLists.txt
+++ b/cmake/dbus/CMakeLists.txt
@@ -62,9 +62,14 @@ set (DBUS_LIB_SOURCES
#
# find a clean Windows implementation
# and move code to a *-win.c file
- ${DBUS_DIR}/dbus-transport-unix.c
- ${DBUS_DIR}/dbus-server-unix.c
)
+if(UNIX)
+ set (DBUS_LIB_SOURCES ${DBUS_LIB_SOURCES}
+ ${DBUS_DIR}/dbus-transport-unix.c
+ ${DBUS_DIR}/dbus-server-unix.c
+ )
+endif(UNIX)
+
set (DBUS_LIB_HEADERS
${DBUS_DIR}/dbus-auth.h
${DBUS_DIR}/dbus-auth-script.h