Please delete your build directory (or at least the cache file).
The variable needs to be a directory, not a file, and this is not the result of this find_path
command. It probably was already set by earlier experiments or you have another find with the same variable.