Bug 41027 - cmake dependency fix
Summary: cmake dependency fix
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Ralf Habacker
QA Contact: John (J5) Palmieri
URL:
Whiteboard: review+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-09-20 00:03 UTC by Ralf Habacker
Modified: 2011-09-22 10:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
cmake fix: Find either expat or libxml2 xml parser libraries, depending on -DDBUS_USE_EXPAT=ON|OFF (1.76 KB, application/octet-stream)
2011-09-20 00:03 UTC, Ralf Habacker
Details

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.