dbus/cmake/dbus CMakeLists.txt,1.1,1.2

Ralf Habacker rhabacker at kemper.freedesktop.org
Tue Mar 6 12:51:04 PST 2007


Update of /cvs/dbus/dbus/cmake/dbus
In directory kemper:/tmp/cvs-serv13637/cmake/dbus

Modified Files:
	CMakeLists.txt 
Log Message:
* cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
cmake/CMakeLists.txt: win32 compile fix

Index: CMakeLists.txt
===================================================================
RCS file: /cvs/dbus/dbus/cmake/dbus/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	3 Mar 2007 14:32:17 -0000	1.1
+++ CMakeLists.txt	6 Mar 2007 20:51:02 -0000	1.2
@@ -62,9 +62,14 @@
 #
 #  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



More information about the dbus-commit mailing list