diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-01-23 18:03:54 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-01-23 19:03:49 (GMT) |
commit | ede3ec5a799768482a7bc37ac44da99817b62316 (patch) | |
tree | 21e44d03c39aa11f1f2090e6c48ab0b62075bea4 /Modules/FindOpenSSL.cmake | |
parent | 86c9604f98b2271401cf7a53c251be51af15278c (diff) | |
download | CMake-ede3ec5a799768482a7bc37ac44da99817b62316.zip CMake-ede3ec5a799768482a7bc37ac44da99817b62316.tar.gz CMake-ede3ec5a799768482a7bc37ac44da99817b62316.tar.bz2 |
use pkg_check_modules() quiet in other modules
Those modules will already print what they found or not using FPHSA, no need
to do this twice.
Diffstat (limited to 'Modules/FindOpenSSL.cmake')
-rw-r--r-- | Modules/FindOpenSSL.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index af799d6..bd71d24 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake @@ -25,10 +25,8 @@ # License text for the above reference.) if (UNIX) - find_package(PkgConfig) - if (PKG_CONFIG_FOUND) - pkg_check_modules(_OPENSSL openssl) - endif (PKG_CONFIG_FOUND) + find_package(PkgConfig QUIET) + pkg_check_modules(_OPENSSL QUIET openssl) endif (UNIX) # http://www.slproweb.com/products/Win32OpenSSL.html |