Installation

From Source

Download the source code with Git

git clone https://github.com/FairRootGroup/FairCMakeModules

and install with CMake

cmake -S FairCMakeModules -B <builddir> -DCMAKE_INSTALL_PREFIX=<installdir>
cmake --build <builddir> --target install

Replace <builddir> and <installdir> with directories of your choice.

macOS

Install Homebrew for macOS and enable the FairSoft tap

brew tap fairrootgroup/fairsoft

and continue with

brew install faircmakemodules

Find the brew package formula here.

Fedora

Add the FairSoft RPM repository for Fedora 35

sudo dnf install https://alfa-ci.gsi.de/packages/rpm/fedora-35-x86_64/fairsoft-release-dev.rpm

and continue with

sudo dnf install faircmakemodules

Find the RPM package source here.