From 4b876d8cb40cc3e682ef842e6af60b4d88d03f46 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 6 Mar 2007 20:51:02 +0000 Subject: * cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt, cmake/CMakeLists.txt: win32 compile fix --- cmake/dbus/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cmake/dbus') 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 -- cgit