KDE/kdelibs/cmake/modules

Alexander Neundorf neundorf at kde.org
Sat Jan 6 18:06:26 CET 2007


SVN commit 620585 by neundorf:

-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 at kde.org



 M  +3 -0      CMakeLists.txt  
 A             FindPkgConfig.cmake  


--- trunk/KDE/kdelibs/cmake/modules/CMakeLists.txt #620584:620585
@@ -31,7 +31,10 @@
 # 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 )
 
 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake "#generated by cmake, dont edit\n\n")


More information about the Kde-buildsystem mailing list