D19075: Fix FindEGL

2019-02-16 Thread Tobias C. Berner
tcberner added a comment. In D19075#413462 , @hausmann wrote: > I think that it should be NAMES EGL/egl.h Yeah, then it might actuayll work without redefining the path -- but in both cases we are kind of assuming that all install egl.h

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Christophe Giboudeaux
cgiboudeaux added inline comments. INLINE COMMENTS > FindUDev.cmake:10 > +# > +# ``UDev_INCLUDE_DIR`` > +# The libudev include directory. UDev_INCLUDE_DIRS > FindUDev.cmake:13 > +# > +# ``UDev_LIBS`` > +# The libudev libraries. UDev_LIBRARIES REPOSITORY R245 Solid BRANCH

D19075: Fix FindEGL

2019-02-16 Thread Tobias C. Berner
tcberner updated this revision to Diff 51847. tcberner added a comment. Simply set `NAMES EGL/egl.h` and fixup the header version check. REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19075?vs=51842=51847 BRANCH master REVISION DETAIL

D18952: new find module for Canberra

2019-02-16 Thread Christophe Giboudeaux
cgiboudeaux added a comment. In D18952#413454 , @aacid wrote: > Yes, imported targets are the future/present :) > > Canberra::Canberra sounds good to me as target name +1 You may also add a set_package_properties() call. see eg:

D18943: Add Fontconfig find modudle

2019-02-16 Thread Christophe Giboudeaux
cgiboudeaux added inline comments. INLINE COMMENTS > FindFontconfig.cmake:56 > +# in the FIND_PATH() and FIND_LIBRARY() calls > +find_package(PkgConfig) > +pkg_check_modules(PC_FONTCONFIG QUIET fontconfig) QUIET here as well > apol wrote in FindFontconfig.cmake:57 > If you use IMPORTED_TARGET

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Volker Krause
vkrause updated this revision to Diff 51848. vkrause added a comment. Fix typos. REPOSITORY R245 Solid CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18947?vs=51845=51848 BRANCH arcpatch-D18947 REVISION DETAIL https://phabricator.kde.org/D18947 AFFECTED FILES

D18943: Add Fontconfig find modudle

2019-02-16 Thread Volker Krause
vkrause updated this revision to Diff 51849. vkrause added a comment. Search for pkgconfig quietly. REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18943?vs=51524=51849 BRANCH arcpatch-D18943 REVISION DETAIL

D19075: Fix FindEGL

2019-02-16 Thread Simon Hausmann
hausmann added a comment. Yeah I think find_path should use the same style as the test program (EGL/egl.h). It is the style of inclusion as per the specification. I think that’s better than the ../ approach. REPOSITORY R240 Extra CMake Modules REVISION DETAIL

D19075: Fix FindEGL

2019-02-16 Thread Simon Hausmann
hausmann requested changes to this revision. This revision now requires changes to proceed. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D19075 To: tcberner, #automotive, hausmann, #freebsd Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham,

D19075: Fix FindEGL

2019-02-16 Thread Simon Hausmann
hausmann added a comment. I think that it should be NAMES EGL/egl.h REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D19075 To: tcberner, #automotive, hausmann, #freebsd Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns

D19075: Fix FindEGL

2019-02-16 Thread Tobias C. Berner
tcberner updated this revision to Diff 51842. tcberner added a comment. Store the path gathered via pkgconfig in `COMPLETE_EGL_INCLUDE_DIR` and use its parent directory for `EGL_INCLUDE_DIR`. REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE

D18952: new find module for Canberra

2019-02-16 Thread Albert Astals Cid
aacid added a comment. Yes, imported targets are the future/present :) Canberra::Canberra sounds good to me as target name REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D18952 To: sitter, cgiboudeaux Cc: aacid, apol, kde-frameworks-devel,

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Albert Astals Cid
aacid added inline comments. INLINE COMMENTS > FindUDev.cmake:75 > +IMPORTED_LOCATION "${UDev_LIBRARIES}" > +INTERFACE_INCLUDE_DIRECTORIES "${UDev_INCLUDE_DIRS}" > +) Do we need a INTERFACE_COMPILER_DEFINITIONS "${UDev_DEFINITIONS}" just in case that udev adds some

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Volker Krause
vkrause updated this revision to Diff 51845. vkrause added a comment. Add IMPORTED_COMPILE_DEFINITIONS property. REPOSITORY R245 Solid CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18947?vs=51485=51845 BRANCH arcpatch-D18947 REVISION DETAIL

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Christophe Giboudeaux
cgiboudeaux accepted this revision. REPOSITORY R245 Solid BRANCH arcpatch-D18947 REVISION DETAIL https://phabricator.kde.org/D18947 To: vkrause, #build_system, cgiboudeaux, apol Cc: aacid, apol, kde-frameworks-devel, michaelh, ngraham, bruns

D18947: Bring FindUDev.cmake up to ECM standards

2019-02-16 Thread Volker Krause
This revision was automatically updated to reflect the committed changes. Closed by commit R245:7464b55f0638: Bring FindUDev.cmake up to ECM standards (authored by vkrause). REPOSITORY R245 Solid CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18947?vs=51848=51853 REVISION DETAIL