cmake configure succeeds, but did not find libpfm, and thus the support is disabled.
Expected behavior
I expected to be able to inject PFM_ROOT to where I installed libpfm, but could not. Looking into it more, the custom FindPFM.cmake module is not doing the right thing.
Describe the bug The usual way to point cmake to a dependency via
<Name>_ROOT
variable or viaCMAKE_PREFIX_PATH
is not working.System Which OS, compiler, and compiler version are you using:
To reproduce Steps to reproduce the behavior:
Expected behavior I expected to be able to inject PFM_ROOT to where I installed libpfm, but could not. Looking into it more, the custom
FindPFM.cmake
module is not doing the right thing.