diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-06 18:56:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-06 18:56:59 +0200 |
commit | 1afba7311ee82aa3f951ace1dde38f179703b385 (patch) | |
tree | 76f07c77bb72389090d29b2039254702066f3873 /external/CMakeLists.txt | |
parent | removed required flags from miniupnp and unbound (diff) | |
download | monero-1afba7311ee82aa3f951ace1dde38f179703b385.tar.xz |
quieten CMake when it can't find packages
Diffstat (limited to '')
-rwxr-xr-x | external/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 954424ea7..1fad9bfe5 100755 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -35,7 +35,7 @@ # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with # others. -find_package(MiniUpnpc) +find_package(MiniUpnpc QUIET) # FreeBSD doesn't play well with the local copy, so default to using shared SET(USE_SHARED_MINIUPNPC true) @@ -85,14 +85,14 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC) INCLUDE(ExternalProject) - FIND_PACKAGE(OpenSSL REQUIRED) + FIND_PACKAGE(OpenSSL QUIET) IF(!OPENSSL_LIBRARIES) MESSAGE(FATAL_ERROR "${BoldRed}Could not find the openssl library. Please make sure you have installed openssl or libssl-dev or the equivalent${ColourReset}") ELSE() MESSAGE(STATUS "Found openssl libraries") ENDIF() - FIND_PACKAGE(Expat REQUIRED) + FIND_PACKAGE(Expat QUIET) IF(!EXPAT_LIBRARIES) MESSAGE(FATAL_ERROR "${BoldRed}Could not find the expat library. Please make sure you have installed libexpat or libexpat-dev or the equivalent${ColourReset}") ELSE() |