summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2015-01-04 08:12:06 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2015-01-05 11:50:11 +0100
commitfd4f3ca3f6b3338ef8d111b05471b4f65c09dd04 (patch)
treebae570b92e2fa2a0d4f1a1ecf3afc72e87a6466e /cmake
parentea54a97f0506df04b6d7be2af67a8c407b631823 (diff)
downloaddbus-fd4f3ca3f6b3338ef8d111b05471b4f65c09dd04.tar.gz
dbus-fd4f3ca3f6b3338ef8d111b05471b4f65c09dd04.tar.bz2
dbus-fd4f3ca3f6b3338ef8d111b05471b4f65c09dd04.zip
Fix usage of undefined variable DBUS_WIN32 on cmake build system
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88010 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/bus/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt
index 2ff6c9bc..a3528c7f 100644
--- a/cmake/bus/CMakeLists.txt
+++ b/cmake/bus/CMakeLists.txt
@@ -118,7 +118,7 @@ if (DBUS_ENABLE_EMBEDDED_TESTS)
set(SOURCES ${BUS_SOURCES} ${BUS_DIR}/test-main.c)
add_test_executable(test-bus "${SOURCES}" ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY})
set_target_properties(test-bus PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS})
- if (NOT DBUS_WIN32)
+ if (NOT WIN32)
set(test_bus_system_SOURCES
${XML_SOURCES}
${BUS_DIR}/config-parser-common.c