From 6d1ecdf93f3bf99dc965d253ed8e985797c75583 Mon Sep 17 00:00:00 2001
From: Matthias <github@mpuchner.de>
Date: Wed, 9 Dec 2020 10:53:09 +0100
Subject: [PATCH] rm multiple empty lines; no else after Fatal error

---
 cmake/find/FindCerf.cmake | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/cmake/find/FindCerf.cmake b/cmake/find/FindCerf.cmake
index 23f554b1e48..6412aa92115 100644
--- a/cmake/find/FindCerf.cmake
+++ b/cmake/find/FindCerf.cmake
@@ -57,7 +57,6 @@ else()
 	endif()
 endif()
 
-
 # If still not found, then check whether it is ultimately required or not.
 if(NOT Cerf_FOUND)
 	message(STATUS "libcerf: FOUND=${Cerf_FOUND}, VERSION=${Cerf_VERSION}, "
@@ -65,15 +64,12 @@ if(NOT Cerf_FOUND)
 		
 	if(${Cerf_ULTIMATELY_REQUIRED})
 		message(FATAL_ERROR "Found neither C nor C++ version of cerf")
-	else()
-		message(STATUS "Found neither C nor C++ version of cerf")
 	endif()
-	
+
+	message(STATUS "Found neither C nor C++ version of cerf")
 	return()
 endif()
 
-
-
 if(Cerf_IS_CPP)
 	message(STATUS "Found libcerf, language=CPP, version=${Cerf_VERSION}, lib=${Cerf_LIBRARIES},"
         " include_dir=${Cerf_INCLUDE_DIR}.")
-- 
GitLab