[Digikam-devel] branches/extragear/graphics/digikam/libkface/cmake/modules
Johannes Wienke
jwienke at techfak.uni-bielefeld.de
Wed Jun 23 13:34:51 BST 2010
Is there any reason why we don't use pkg_check_modules from cmake? This
already returns the version and removes the deprecation warnings.
Johannes
Gilles Caulier wrote:
> SVN commit 1141752 by cgilles:
>
> use right syntax
>
>
> M +1 -1 FindLibFace.cmake
>
>
> --- branches/extragear/graphics/digikam/libkface/cmake/modules/FindLibFace.cmake #1141751:1141752
> @@ -38,7 +38,7 @@
>
> IF(_LIBFACELinkFlags)
> # query pkg-config asking for a LibFace >= 0.1
> - EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=${LIBFACE_MIN_VERSION} face RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
> + EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=${LIBFACE_MIN_VERSION} libface RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
> IF(_return_VALUE STREQUAL "0")
> MESSAGE(STATUS "Found LibFace release >= ${LIBFACE_MIN_VERSION}")
> SET(LIBFACE_VERSION_GOOD_FOUND TRUE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20100623/6c4ef443/attachment.sig>
More information about the Digikam-devel
mailing list