aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Jarvie <djarvie@kde.org>2009-03-11 22:39:22 +0000
committerDavid Jarvie <djarvie@kde.org>2009-03-11 22:39:22 +0000
commitac954219018fac1c1cae99b6e69be9438e452233 (patch)
tree10cad1629c8be59082de88fe189d871d622192b4
parent85e20f5fffa43268e3ca4a5f745f4e1910cf3fea (diff)
downloadextra-cmake-modules-ac954219018fac1c1cae99b6e69be9438e452233.tar.gz
extra-cmake-modules-ac954219018fac1c1cae99b6e69be9438e452233.tar.bz2
Suppress 'not found' messages from pkgconfig when the module subsequently
attempts to locate the package by other means. svn path=/trunk/KDE/kdelibs/; revision=938476
-rw-r--r--modules/FindAGG.cmake2
-rw-r--r--modules/FindBlitz.cmake2
-rw-r--r--modules/FindBlueZ.cmake2
-rw-r--r--modules/FindENCHANT.cmake2
-rw-r--r--modules/FindFontconfig.cmake2
-rw-r--r--modules/FindGStreamer.cmake2
-rw-r--r--modules/FindLCMS.cmake2
-rw-r--r--modules/FindLibArt.cmake2
-rw-r--r--modules/FindLibXml2.cmake2
-rw-r--r--modules/FindLibXslt.cmake2
-rw-r--r--modules/FindOpenEXR.cmake2
-rw-r--r--modules/FindPCRE.cmake2
-rw-r--r--modules/FindPulseAudio.cmake4
-rw-r--r--modules/FindQCA2.cmake2
-rw-r--r--modules/FindQImageBlitz.cmake2
-rw-r--r--modules/FindSqlite.cmake2
-rw-r--r--modules/FindStrigi.cmake2
-rw-r--r--modules/FindUSB.cmake2
-rw-r--r--modules/FindXine.cmake2
-rw-r--r--modules/FindXmms.cmake2
20 files changed, 21 insertions, 21 deletions
diff --git a/modules/FindAGG.cmake b/modules/FindAGG.cmake
index 94d68da4..86d5618a 100644
--- a/modules/FindAGG.cmake
+++ b/modules/FindAGG.cmake
@@ -21,7 +21,7 @@ else (AGG_INCLUDE_DIR AND AGG_LIBRARIES)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_AGG libagg)
+ pkg_check_modules(PC_AGG QUIET libagg)
set(AGG_DEFINITIONS ${PC_AGG_CFLAGS_OTHER})
endif (NOT WIN32)
diff --git a/modules/FindBlitz.cmake b/modules/FindBlitz.cmake
index 2427999e..a3abd6b0 100644
--- a/modules/FindBlitz.cmake
+++ b/modules/FindBlitz.cmake
@@ -23,7 +23,7 @@ if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_BLITZ qimageblitz)
+ pkg_check_modules(PC_BLITZ QUIET qimageblitz)
endif (NOT WIN32)
find_path(BLITZ_INCLUDES
diff --git a/modules/FindBlueZ.cmake b/modules/FindBlueZ.cmake
index 8601b935..8332797f 100644
--- a/modules/FindBlueZ.cmake
+++ b/modules/FindBlueZ.cmake
@@ -25,7 +25,7 @@ endif ( BLUEZ_INCLUDE_DIR AND BLUEZ_LIBRARIES )
if( NOT WIN32 )
find_package(PkgConfig)
- pkg_check_modules(PC_BLUEZ bluez)
+ pkg_check_modules(PC_BLUEZ QUIET bluez)
set(BLUEZ_DEFINITIONS ${PC_BLUEZ_CFLAGS_OTHER})
endif( NOT WIN32 )
diff --git a/modules/FindENCHANT.cmake b/modules/FindENCHANT.cmake
index 0b30f326..9c13c488 100644
--- a/modules/FindENCHANT.cmake
+++ b/modules/FindENCHANT.cmake
@@ -22,7 +22,7 @@ else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_ENCHANT enchant)
+ pkg_check_modules(PC_ENCHANT QUIET enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif (NOT WIN32)
diff --git a/modules/FindFontconfig.cmake b/modules/FindFontconfig.cmake
index 268a61ae..5e2f3ead 100644
--- a/modules/FindFontconfig.cmake
+++ b/modules/FindFontconfig.cmake
@@ -23,7 +23,7 @@ else (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_FONTCONFIG fontconfig)
+ pkg_check_modules(PC_FONTCONFIG QUIET fontconfig)
set(FONTCONFIG_DEFINITIONS ${PC_FONTCONFIG_CFLAGS_OTHER})
endif (NOT WIN32)
diff --git a/modules/FindGStreamer.cmake b/modules/FindGStreamer.cmake
index 8e98b892..43793711 100644
--- a/modules/FindGStreamer.cmake
+++ b/modules/FindGStreamer.cmake
@@ -24,7 +24,7 @@ IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
FIND_PACKAGE(PkgConfig)
- PKG_CHECK_MODULES(PC_GSTREAMER gstreamer-0.10)
+ PKG_CHECK_MODULES(PC_GSTREAMER QUIET gstreamer-0.10)
#MESSAGE(STATUS "DEBUG: GStreamer include directory = ${GSTREAMER_INCLUDE_DIRS}")
#MESSAGE(STATUS "DEBUG: GStreamer link directory = ${GSTREAMER_LIBRARY_DIRS}")
#MESSAGE(STATUS "DEBUG: GStreamer CFlags = ${GSTREAMER_CFLAGS_OTHER}")
diff --git a/modules/FindLCMS.cmake b/modules/FindLCMS.cmake
index 9d162d2c..cbb6b179 100644
--- a/modules/FindLCMS.cmake
+++ b/modules/FindLCMS.cmake
@@ -17,7 +17,7 @@
# in the FIND_PATH() and FIND_LIBRARY() calls
if(NOT WIN32)
find_package(PkgConfig)
- pkg_check_modules(PC_LCMS lcms)
+ pkg_check_modules(PC_LCMS QUIET lcms)
set(LCMS_DEFINITIONS ${PC_LCMS_CFLAGS_OTHER})
endif(NOT WIN32)
diff --git a/modules/FindLibArt.cmake b/modules/FindLibArt.cmake
index 99eaff65..b14cd9db 100644
--- a/modules/FindLibArt.cmake
+++ b/modules/FindLibArt.cmake
@@ -23,7 +23,7 @@ else (LIBART_INCLUDE_DIR AND LIBART_LIBRARIES)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
- pkg_check_modules(PC_LIBART libart-2.0)
+ pkg_check_modules(PC_LIBART QUIET libart-2.0)
######### ?? where is this used ?? ###############
set(LIBART_DEFINITIONS ${PC_LIBART_CFLAGS_OTHER})
diff --git a/modules/FindLibXml2.cmake b/modules/FindLibXml2.cmake
index 453c261b..83858047 100644
--- a/modules/FindLibXml2.cmake
+++ b/modules/FindLibXml2.cmake
@@ -22,7 +22,7 @@ IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
FIND_PACKAGE(PkgConfig)
- PKG_CHECK_MODULES(PC_LIBXML libxml-2.0)
+ PKG_CHECK_MODULES(PC_LIBXML QUIET libxml-2.0)
SET(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER})
ENDIF (NOT WIN32)
diff --git a/modules/FindLibXslt.cmake b/modules/FindLibXslt.cmake
index 3a1bcd46..1c55c4c5 100644
--- a/modules/FindLibXslt.cmake
+++ b/modules/FindLibXslt.cmake
@@ -22,7 +22,7 @@ IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_XSLT libxslt)
+ pkg_check_modules(PC_XSLT QUIET libxslt)
SET(LIBXSLT_DEFINITIONS ${PC_XSLT_CFLAGS_OTHER})
ENDIF (NOT WIN32)
diff --git a/modules/FindOpenEXR.cmake b/modules/FindOpenEXR.cmake
index eb3829cb..405b892d 100644
--- a/modules/FindOpenEXR.cmake
+++ b/modules/FindOpenEXR.cmake
@@ -21,7 +21,7 @@ else (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_OPENEXR OpenEXR)
+ pkg_check_modules(PC_OPENEXR QUIET OpenEXR)
FIND_PATH(OPENEXR_INCLUDE_DIR ImfRgbaFile.h
HINTS
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake
index efba0652..c8f8326d 100644
--- a/modules/FindPCRE.cmake
+++ b/modules/FindPCRE.cmake
@@ -22,7 +22,7 @@ if (NOT WIN32)
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_PCRE libpcre)
+ pkg_check_modules(PC_PCRE QUIET libpcre)
set(PCRE_DEFINITIONS ${PC_PCRE_CFLAGS_OTHER})
diff --git a/modules/FindPulseAudio.cmake b/modules/FindPulseAudio.cmake
index 3a014012..dbb1f6b5 100644
--- a/modules/FindPulseAudio.cmake
+++ b/modules/FindPulseAudio.cmake
@@ -24,8 +24,8 @@ endif (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARY AND PULSEAUDIO_MAINLOOP_LIB
if (NOT WIN32)
include(FindPkgConfig)
- pkg_check_modules(PC_PULSEAUDIO libpulse>=${PULSEAUDIO_MINIMUM_VERSION})
- pkg_check_modules(PC_PULSEAUDIO_MAINLOOP libpulse-mainloop-glib)
+ pkg_check_modules(PC_PULSEAUDIO QUIET libpulse>=${PULSEAUDIO_MINIMUM_VERSION})
+ pkg_check_modules(PC_PULSEAUDIO_MAINLOOP QUIET libpulse-mainloop-glib)
endif (NOT WIN32)
FIND_PATH(PULSEAUDIO_INCLUDE_DIR pulse/pulseaudio.h
diff --git a/modules/FindQCA2.cmake b/modules/FindQCA2.cmake
index 9966c224..478105f4 100644
--- a/modules/FindQCA2.cmake
+++ b/modules/FindQCA2.cmake
@@ -26,7 +26,7 @@ else (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
if (NOT WIN32)
find_package(PkgConfig)
- pkg_check_modules(PC_QCA2 qca2)
+ pkg_check_modules(PC_QCA2 QUIET qca2)
set(QCA2_DEFINITIONS ${PC_QCA2_CFLAGS_OTHER})
endif (NOT WIN32)
diff --git a/modules/FindQImageBlitz.cmake b/modules/FindQImageBlitz.cmake
index 9e31c047..232d7c40 100644
--- a/modules/FindQImageBlitz.cmake
+++ b/modules/FindQImageBlitz.cmake
@@ -20,7 +20,7 @@ if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_QIMAGEBLITZ qimageblitz)
+ pkg_check_modules(PC_QIMAGEBLITZ QUIET qimageblitz)
endif (NOT WIN32)
find_path(QIMAGEBLITZ_INCLUDES
diff --git a/modules/FindSqlite.cmake b/modules/FindSqlite.cmake
index 2fa76330..dc36457b 100644
--- a/modules/FindSqlite.cmake
+++ b/modules/FindSqlite.cmake
@@ -25,7 +25,7 @@ endif ( SQLITE_INCLUDE_DIR AND SQLITE_LIBRARIES )
if( NOT WIN32 )
find_package(PkgConfig)
- pkg_check_modules(PC_SQLITE sqlite3)
+ pkg_check_modules(PC_SQLITE QUIET sqlite3)
set(SQLITE_DEFINITIONS ${PC_SQLITE_CFLAGS_OTHER})
endif( NOT WIN32 )
diff --git a/modules/FindStrigi.cmake b/modules/FindStrigi.cmake
index f0a3921e..57220678 100644
--- a/modules/FindStrigi.cmake
+++ b/modules/FindStrigi.cmake
@@ -55,7 +55,7 @@ else(STRIGI_CONFIG_FOUND_AND_HAS_COMPLETE_INFORMATION)
if(NOT strigi_home)
find_package(PkgConfig)
if(PKG_CONFIG_EXECUTABLE)
- pkg_check_modules(STRIGI libstreamanalyzer>=${STRIGI_MIN_VERSION})
+ pkg_check_modules(STRIGI QUIET libstreamanalyzer>=${STRIGI_MIN_VERSION})
endif(PKG_CONFIG_EXECUTABLE)
endif(NOT strigi_home)
endif(NOT WIN32)
diff --git a/modules/FindUSB.cmake b/modules/FindUSB.cmake
index 566cdd8e..dfcf650c 100644
--- a/modules/FindUSB.cmake
+++ b/modules/FindUSB.cmake
@@ -21,7 +21,7 @@ else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_LIBUSB libusb)
+ pkg_check_modules(PC_LIBUSB QUIET libusb)
ENDIF(NOT WIN32)
FIND_PATH(LIBUSB_INCLUDE_DIR usb.h
diff --git a/modules/FindXine.cmake b/modules/FindXine.cmake
index 1223851b..4ad0c2a8 100644
--- a/modules/FindXine.cmake
+++ b/modules/FindXine.cmake
@@ -21,7 +21,7 @@ endif (XINE_INCLUDE_DIR AND XINE_LIBRARY)
find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
- pkg_check_modules(PC_LIBXINE libxine)
+ pkg_check_modules(PC_LIBXINE QUIET libxine)
endif (PKG_CONFIG_FOUND)
find_path(XINE_INCLUDE_DIR NAMES xine.h
diff --git a/modules/FindXmms.cmake b/modules/FindXmms.cmake
index c43893fb..9f2cdf26 100644
--- a/modules/FindXmms.cmake
+++ b/modules/FindXmms.cmake
@@ -22,7 +22,7 @@ else (XMMS_INCLUDE_DIRS AND XMMS_LIBRARIES)
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
- pkg_check_modules(PC_XMMS xmms)
+ pkg_check_modules(PC_XMMS QUIET xmms)
endif(NOT WIN32)
find_path(XMMS_INCLUDE_DIRS xmmsctrl.h