Bring FindUDev.cmake up to ECM standards
ClosedPublic

Authored by vkrause on Feb 12 2019, 10:59 AM.

Details

Summary

This prepares it to be upstreamed to ECM, as it's also needed by KWin
and qtbase.

Diff Detail

Repository
R245 Solid
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 8186
Build 8204: arc lint + arc unit
vkrause created this revision.Feb 12 2019, 10:59 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 12 2019, 10:59 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
vkrause requested review of this revision.Feb 12 2019, 10:59 AM
apol accepted this revision.Feb 12 2019, 11:13 AM
apol added a subscriber: apol.

Looks good to me, comments in D18943 still apply but let's not block.

This revision is now accepted and ready to land.Feb 12 2019, 11:13 AM
aacid added a subscriber: aacid.Feb 16 2019, 9:57 AM
aacid added inline comments.
cmake/FindUDev.cmake
75

Do we need a
INTERFACE_COMPILER_DEFINITIONS "${UDev_DEFINITIONS}"
just in case that udev adds some definitions at some point?

vkrause updated this revision to Diff 51845.Feb 16 2019, 10:29 AM

Add IMPORTED_COMPILE_DEFINITIONS property.

krop added inline comments.Feb 16 2019, 10:51 AM
cmake/FindUDev.cmake
10

UDev_INCLUDE_DIRS

13

UDev_LIBRARIES

vkrause updated this revision to Diff 51848.Feb 16 2019, 11:26 AM

Fix typos.

krop accepted this revision.Feb 16 2019, 12:25 PM
This revision was automatically updated to reflect the committed changes.