diff options
| author | Alexander Neundorf <neundorf@kde.org> | 2007-01-06 17:06:22 +0000 |
|---|---|---|
| committer | Alexander Neundorf <neundorf@kde.org> | 2007-01-06 17:06:22 +0000 |
| commit | 405f2f4c681df3f916dfdc001b0d8b9d5fa2de66 (patch) | |
| tree | 47a2e521bd8564ce76bc2fcc339d57b7f7493cc6 /modules/CMakeLists.txt | |
| parent | 89e3d1113d95b015075e0f90bcb8e13befa4158b (diff) | |
| download | extra-cmake-modules-405f2f4c681df3f916dfdc001b0d8b9d5fa2de66.tar.gz extra-cmake-modules-405f2f4c681df3f916dfdc001b0d8b9d5fa2de66.tar.bz2 | |
-add the new and advanced FindPkgConfig.cmake module from cmake cvs, can be removed once we require cmake >= 2.4.6
Usage:
find_package(PkgConfig)
pkg_check_modules(GDK gdk)
gives you:
GDK_INCLUDE_DIRS
GDK_LIBRARIES
and more, see top of FindPkgConfig.cmake for details
Alex
CCMAIL: kde-buildsystem@kde.org
svn path=/trunk/KDE/kdelibs/; revision=620585
Diffstat (limited to 'modules/CMakeLists.txt')
| -rw-r--r-- | modules/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index cae69664..97d0f6d3 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -31,6 +31,9 @@ set(FILES_TO_REMOVE # FindASPELL.cmake # FindHSPELL.cmake +# can be removed once we require cmake 2.4.6 or newer: +# FindPkgConfig.cmake + install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake ) |
