From: Ralf Habacker Date: Sun, 4 Jan 2015 07:12:06 +0000 (+0100) Subject: Fix usage of undefined variable DBUS_WIN32 on cmake build system X-Git-Tag: dbus-1.9.8~32 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=fd4f3ca3f6b3338ef8d111b05471b4f65c09dd04;p=thirdparty%2Fdbus.git 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 --- diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt index 2ff6c9bcf..a3528c7f3 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