Review Request 118763: Remove find_package(XCB) call as it is handled already by the top-level cmake file

Martin Gräßlin mgraesslin at kde.org
Mon Jun 16 07:57:23 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118763/#review60162
-----------------------------------------------------------


looks good to me, +1. Please add Hugo Pereira Da Costa to the Review Request, though.

The review request made me wonder whether we still need to find XLib in Oxygen, though. The parts shown only use XCB, so maybe we could just go for finding only XCB?

- Martin Gräßlin


On June 15, 2014, 2:47 p.m., Bernd Steinhauser wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118763/
> -----------------------------------------------------------
> 
> (Updated June 15, 2014, 2:47 p.m.)
> 
> 
> Review request for kde-workspace.
> 
> 
> Repository: oxygen
> 
> 
> Description
> -------
> 
> No idea if kde-workspace is still the right group, if not, please change.
> 
> find_package(XCB) is called without specifying the required components. This leads to linking to unused dependencies in case they are installed.
> 
> Since XCB is searched for in the top level cmake file in the repository, there is no need to search for it again. The component required there (only base XCB) is sufficient.
> Although, this should be sufficient to fix the deps problem, it makes sense to link to XCB::XCB instead of ${XCB_LIBRARIES}, since the former is what is actually needed.
> 
> 
> Diffs
> -----
> 
>   kstyle/CMakeLists.txt 165b62a 
>   liboxygen/CMakeLists.txt 0d1dd94 
> 
> Diff: https://git.reviewboard.kde.org/r/118763/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bernd Steinhauser
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140616/e6b2045b/attachment.htm>


More information about the kde-core-devel mailing list