* cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,

cmake/CMakeLists.txt: win32 compile fix
This commit is contained in:
Ralf Habacker 2007-03-06 20:51:02 +00:00
parent 51e88a912a
commit 4b876d8cb4
4 changed files with 13 additions and 5 deletions

View file

@ -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

View 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)

View 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

View 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