Commit 4a58beab authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed unwanted error propagation in FindBob

parent 0b17b427
......@@ -119,6 +119,7 @@ function(find_bob_package package)
# assert that we have found the package
if (NOT _package_dir)
unset(_package_dir CACHE)
if (Bob_FIND_REQUIRED)
# if the package was required and we didn't find it, stop here
message(FATAL_ERROR "Could not find bob package '${package}'")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment