aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 18:56:59 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 18:56:59 +0200
commit1afba7311ee82aa3f951ace1dde38f179703b385 (patch)
tree76f07c77bb72389090d29b2039254702066f3873
parentremoved required flags from miniupnp and unbound (diff)
downloadmonero-1afba7311ee82aa3f951ace1dde38f179703b385.tar.xz
quieten CMake when it can't find packages
-rw-r--r--CMakeLists.txt2
-rwxr-xr-xexternal/CMakeLists.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54565464c..633a5e8d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -201,7 +201,7 @@ if(STATIC)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME ON)
endif()
-find_package(Boost 1.53 REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options)
+find_package(Boost 1.53 QUIET REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options)
if(NOT Boost_FOUND)
MESSAGE(FATAL_ERROR "${BoldRed}Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (1.53 or 1.55+) or the equivalent${ColourReset}")
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()