I suspect this issue affects several repositories so I've opened this issue here. That said, I'm specifically looking at the FindCppyy.cmake file in ParallelZone (so if this issue is PZ unique we should move this issue there).
The current FindCppyy.cmake is non-standard in at least two regards:
The version to find is hard-coded. In typical CMake usage users pass the version to find to find_package.
It attempts to install Cppyy if it's not found. FindXXX.cmake should simply determine if the package can be found or not. Installing should happen in a different module.
I suspect this issue affects several repositories so I've opened this issue here. That said, I'm specifically looking at the
FindCppyy.cmake
file in ParallelZone (so if this issue is PZ unique we should move this issue there).The current
FindCppyy.cmake
is non-standard in at least two regards:find_package
.FindXXX.cmake
should simply determine if the package can be found or not. Installing should happen in a different module.