Skip to content

cmake complains when trying to build #47

Description

@jonasbjorklundsvensson

Hi Kyrre,

I'm on the quest to run MiniScatter. So far, it seems like I've successfully installed geant4 and ROOT, but when I try to build MiniScatter I get the following error message:

CMake Error at CMakeLists.txt:3 (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.

I'm very new to this whole installation process and don't really know how to troubleshoot. Could you please advise?

  • Jonas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions