Created attachment 51387 [details]
cmake fix: Find either expat or libxml2 xml parser libraries, depending on -DDBUS_USE_EXPAT=ON|OFF
current cmake build system tries to find and libexpat libraries
independent from the enabled one. This lead into undefined cmake variable notices
The appended patch fixes this issue.
Looks good, please apply.
committed to dbus-1.4 branch