From ac25eb1f3791c071cd26ec41d50c7c7a48a97dd2 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 6 Jul 2014 17:27:43 +0200 Subject: [PATCH] Fail if cryptopp not found. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12bd1cbf7..9b3579be7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,6 +171,9 @@ else() message(STATUS "Crypto++ found and version greater or equal to 5.6.2") endif() endif() + else() + message(FATAL_ERROR "Couldn't find Crypto++ version >= 5.6.2.") + endif() # Not really worth caching. We want to reevaluate anyway.