Bug 41027

Summary: cmake dependency fix
Product: dbus Reporter: Ralf Habacker <ralf.habacker>
Component: coreAssignee: Ralf Habacker <ralf.habacker>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: review+
i915 platform: i915 features:
Attachments: cmake fix: Find either expat or libxml2 xml parser libraries, depending on -DDBUS_USE_EXPAT=ON|OFF

Description Ralf Habacker 2011-09-20 00:03:55 UTC
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.
Comment 1 Simon McVittie 2011-09-20 08:48:30 UTC
Looks good, please apply.
Comment 2 Ralf Habacker 2011-09-22 10:34:44 UTC
committed to dbus-1.4 branch

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.