summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/config.h.cmake4
-rw-r--r--cmake/test/CMakeLists.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index eaec1e98..729080f7 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -248,4 +248,8 @@
#define inline __inline
#endif
+#ifdef DBUS_WIN
+#define FD_SETSIZE @FD_SETSIZE@
+#endif
+
#endif // _DBUS_CONFIG_H
diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt
index 9195eae7..ecad3046 100644
--- a/cmake/test/CMakeLists.txt
+++ b/cmake/test/CMakeLists.txt
@@ -1,3 +1,4 @@
+include_directories(${CMAKE_SOURCE_DIR}/../test)
add_definitions(${DBUS_INTERNAL_CLIENT_DEFINITIONS})
@@ -66,7 +67,6 @@ if(DBUS_WITH_GLIB)
include_directories(
${GLIB2_INCLUDE_DIR}
${GOBJECT_INCLUDE_DIR}
- ${CMAKE_SOURCE_DIR}/../test
)
set(TEST_LIBRARIES ${DBUS_INTERNAL_LIBRARIES} dbus-testutils ${GLIB2_LIBRARIES} ${GOBJECT_LIBRARIES})