So I am attempting to build a cmake projects that others have been able to build successfully. The main issue is that I always end up with the classic cmake configuration error when doing a find_package():
could not find configuration for package "PKGNAME" that is compatible with requested version "x.x.x"
The following configuration files were considered but not accepted:
Path\To\Correct\Config.cmake, version x.x.x
Now that cmake it "Considers" is the correct file that it should be using, even the versions are the same. Yet it always fails with this error even after that standard reinstall, restart, clean rebuild, literally using the same files that worked on another computer routine.
So what Im trying to find out really, is there a way to find out why it wasnt accepted specifically? Any cmake debugging that I could try out here?
This is happening on a Windows 10 machine and the cmake Im looking for is located directly on the C:\ drive if that has any bearing. Also as a point, it builds fine if I remove the specific version check in the find_package(), but I cant really be running it like that.