[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/cmake/modules
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2007-01-06 17:06:26
Message-ID: 1168103186.277687.24771.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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")


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic