From 01af167b55ee1507212a6ec6c01027ae1b471ff3 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 3 Jan 2015 20:36:31 +0100 Subject: [PATCH] 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 --- cmake/test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})