prmon
prmon copied to clipboard
Update cmake_minimum_required ?
When compiling prmon with CMake 4.0.1 as used in the ATLAS Athena main branch releases the following error occurs:
CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
It might be worth updating https://github.com/HSF/prmon/blob/main-nvidia-mon-update-20251111/CMakeLists.txt#L4 to e.g. 3.25 ?
I see it's a duplicate of https://github.com/HSF/prmon/issues/260 - feel free to close this issue here again.