1 2 3 4
check_for_success("making a match inside of find_package") do_regex_failure("making a failure inside of find_package") set(dummy_FOUND 1)