mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 23:20:08 +01:00
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>
This commit is contained in:
parent
2abe9ffeb7
commit
01af167b55
1 changed files with 1 additions and 1 deletions
|
|
@ -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})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue