* cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 6 Mar 2007 20:51:02 +0000 (20:51 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 6 Mar 2007 20:51:02 +0000 (20:51 +0000)
cmake/CMakeLists.txt: win32 compile fix

ChangeLog
cmake/CMakeLists.txt
cmake/bus/CMakeLists.txt
cmake/dbus/CMakeLists.txt

index e6641d6..13425c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-06  Ralf Habacker  <ralf.habacker@freenet.de>
+
+       * cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
+       cmake/CMakeLists.txt: win32 compile fix
+
 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
 
        * dbus-win.patch, README.win: added available win32 
index ded5cb0..c2dbf06 100644 (file)
@@ -449,8 +449,6 @@ if (DBUS_BUILD_TESTS)
        add_subdirectory( test )
 endif (DBUS_BUILD_TESTS)
 add_subdirectory( tools )
-# small sized pkg-config emulation
-add_subdirectory( pkg-config )
 
 
 OPTION(DBUS_INSTALL_SYSTEM_LIBS "install required system libraries" OFF)
index 79629e9..dfef959 100644 (file)
@@ -50,7 +50,7 @@ set (BUS_SOURCES
        ${BUS_DIR}/connection.h                         
        ${BUS_DIR}/desktop-file.c                               
        ${BUS_DIR}/desktop-file.h                               
-       ${BUS_DIR}/dir-watch.c                          
+       ${BUS_DIR}/dir-watch-default.c                          
        ${BUS_DIR}/dir-watch.h                          
        ${BUS_DIR}/dispatch.c                           
        ${BUS_DIR}/dispatch.h                           
index 754c5cb..839554b 100644 (file)
@@ -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