[CMake] Add FindDBus.cmake and use it in the EFL port.
Created attachment 159056 [details] Patch
Comment on attachment 159056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159056&action=review > Source/cmake/FindDBus.cmake:32 > +FIND_PACKAGE(PkgConfig) > +PKG_CHECK_MODULES(PC_DBUS QUIET dbus-1) isn't there a way to do it without pkgconfig?
(In reply to comment #2) > (From update of attachment 159056 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=159056&action=review > > > Source/cmake/FindDBus.cmake:32 > > +FIND_PACKAGE(PkgConfig) > > +PKG_CHECK_MODULES(PC_DBUS QUIET dbus-1) > > isn't there a way to do it without pkgconfig? Yes, the current one :-) pkg-config isn't required, and its values (when they do exist) are only used as hints.
Comment on attachment 159056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159056&action=review >>> Source/cmake/FindDBus.cmake:32 >>> +PKG_CHECK_MODULES(PC_DBUS QUIET dbus-1) >> >> isn't there a way to do it without pkgconfig? > > Yes, the current one :-) pkg-config isn't required, and its values (when they do exist) are only used as hints. sorry, more "correct" question: is PKG_CHECK_MODULES defined always? -> i checked it myself and it is ;-) sorry for the noice
Comment on attachment 159056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159056&action=review r=me > ChangeLog:15 > + Once we properly detect the EFL without pkg-config, that's going > + to break, so write a FindDBus.cmake to avoid that problem in the > + future. This sentence doesn't read well.
Comment on attachment 159056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159056&action=review > ChangeLog:11 > + edbus's pkg-config information. Nit: edbus's => EDbus's
Created attachment 159174 [details] For landing
Committed r125924: <http://trac.webkit.org/changeset/125924>