From f2447ec233700079dd396ee1439e3cc6c41a4120 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume Gagnon Date: Tue, 17 Sep 2024 16:45:24 +0200 Subject: [PATCH] Add fastjet build --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20ce0fc2..395070f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ set(DD4HEP_VERSION 01-29) set(BOOST_VERSION 1.84.0) set(EIGEN_VERSION 3.4.0) set(GEOMODEL_VERSION 6.3.0) +set(FASTJET_VERSION 3.4.3) if(POLICY CMP0135) cmake_policy(SET CMP0135 NEW) @@ -501,6 +502,15 @@ ExternalProject_Add(dd4hep -DDD4HEP_USE_EDM4HEP=ON ) +ExternalProject_Add(fastjet + PREFIX fastjet + DEPENDS PythonExeExists + URL https://fastjet.fr/repo/fastjet-${FASTJET_VERSION}.tar.gz + URL_HASH SHA256=cc175471bfab8656b8c6183a8e5e9ad05d5f7506e46f3212a9a8230905b8f6a3 + CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env CXX=${CMAKE_CXX_COMPILER} /configure --prefix=${CMAKE_INSTALL_PREFIX} --enable-allplugins --enable-pyext + BUILD_COMMAND make -j${CMAKE_BUILD_PARALLEL_LEVEL} +) + option(BUILD_ACTS "Build ACTS" OFF) if(BUILD_ACTS)