diff options
Diffstat (limited to 'cmake/dbus/CMakeLists.txt')
-rw-r--r-- | cmake/dbus/CMakeLists.txt | 9 |
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 |