Skip to content
Snippets Groups Projects
Commit 6d1ecdf9 authored by Matthias's avatar Matthias
Browse files

rm multiple empty lines; no else after Fatal error

parent c36da2f3
No related branches found
No related tags found
No related merge requests found
......@@ -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}.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment