Skip to content
Snippets Groups Projects
Commit 4a58beab authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed unwanted error propagation in FindBob

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