summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2015-01-03 20:36:31 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2015-01-05 11:47:13 +0100
commit01af167b55ee1507212a6ec6c01027ae1b471ff3 (patch)
treec0e50af7a9b1fc2110538ac68296650c4a9dbbfc
parent2abe9ffeb7de12723f0b8dc9d507fc57477adf08 (diff)
downloaddbus-01af167b55ee1507212a6ec6c01027ae1b471ff3.tar.gz
Windows cmake cross compile fix
We need to include 'test' subdir in any case not only when using glib. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88009 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--cmake/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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})