Skip to content
Snippets Groups Projects
Commit a752451f authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

FindCerf: add message to neutralize 'Cerf not found'

parent cc565116
No related branches found
No related tags found
1 merge request!360FindCerf.cmake: add message to resolve conflict between 'not found' (as C lib) and 'found' (as C++ lib)
Pipeline #45614 passed
......@@ -45,6 +45,7 @@ if(Cerf_FOUND)
set(Cerf_IS_CPP OFF CACHE BOOL "Define whether CERF shall be used as C++")
else()
# C version not found and cache is empty => search for C++ version
message("Since we did not find the C version of libcerf, we will now search the C++ version")
unset(Cerf_FOUND)
unset(Cerf_LIBRARIES)
find_library(Cerf_LIBRARIES NAMES cerfcpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment