summaryrefslogtreecommitdiff
path: root/Modules/UsePkgConfig.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-09-22 14:47:18 +0200
committerAlex Neundorf <neundorf@kde.org>2011-09-22 14:47:18 +0200
commit59ccf385540709c5c3e9352120f55b8ca90aaf6e (patch)
tree16b4d3cd491fada8230587da64a190a04f7c1725 /Modules/UsePkgConfig.cmake
parentad11118ebf398e2374f1905ebfb4f3fe04cd27cd (diff)
downloadcmake-59ccf385540709c5c3e9352120f55b8ca90aaf6e.tar.gz
Minor improvements to the UsePkgConfig.cmake docs
Alex
Diffstat (limited to 'Modules/UsePkgConfig.cmake')
-rw-r--r--Modules/UsePkgConfig.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/UsePkgConfig.cmake b/Modules/UsePkgConfig.cmake
index 14bbf221e7..3db9e43dc4 100644
--- a/Modules/UsePkgConfig.cmake
+++ b/Modules/UsePkgConfig.cmake
@@ -1,13 +1,14 @@
-# - obsolete pkg-config module for CMake
+# - Osolete pkg-config module for CMake, use FindPkgConfig instead.
#
-# Defines the following macros:
+# This module defines the following macro:
#
# PKGCONFIG(package includedir libdir linkflags cflags)
#
# Calling PKGCONFIG will fill the desired information into the 4 given arguments,
# e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS)
# if pkg-config was NOT found or the specified software package doesn't exist, the
-# variable will be empty when the function returns, otherwise they will contain the respective information
+# variable will be empty when the function returns, otherwise they will contain
+# the respective information
#
#=============================================================================
@@ -27,7 +28,7 @@ FIND_PROGRAM(PKGCONFIG_EXECUTABLE NAMES pkg-config )
MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
MESSAGE(STATUS
- "WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig")
+ "WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig")
# reset the variables at the beginning
SET(${_include_DIR})
SET(${_link_DIR})