PACKAGE_INIT generates PACKAGE_PREFIX_DIR with the wrong directory

I haven’t set CMAKE_INSTALL_PREFIX, but when I install I use the command cmake --install . --prefix ../path/to/project. It installs all my library and target files exactly where I expect, but when I try to use find_package(pi-events REQUIRED) it can’t find it, seemingly because the package config helpers generated a file that uses the wrong prefix