diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d78296..fc6e702 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,8 +191,6 @@ if(APPLE) endif() -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.sh.in ${CMAKE_INSTALL_PREFIX}/setup.sh @ONLY) - # Determine current platform as minimum from SYSROOT if(APPLE) execute_process(COMMAND jq -r .MinimalDisplayName ${CMAKE_OSX_SYSROOT}/SDKSettings.json diff --git a/setup.sh.in b/setup.sh.in deleted file mode 100644 index ff084d0..0000000 --- a/setup.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - -CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH:-} - -function add_dep() { - pkg=$1 - ver=$2 - if [ -z "$CMAKE_PREFIX_PATH" ]; then - export CMAKE_PREFIX_PATH="$SCRIPT_DIR/$pkg/$ver" - else - export CMAKE_PREFIX_PATH="$SCRIPT_DIR/$pkg/$ver:$CMAKE_PREFIX_PATH" - fi -} - -add_dep python @PYTHON_VERSION@ -add_dep tbb @TBB_VERSION@ -add_dep geant4 @GEANT4_VERSION@ -add_dep hepmc3 @HEPMC3_VERSION@ -add_dep pythia8 @PYTHIA8_VERSION@ -add_dep nlohmann_json @JSON_VERSION@ -add_dep root @ROOT_VERSION@ -add_dep podio @PODIO_VERSION@ -add_dep edm4hep @EDM4HEP_VERSION@ -add_dep dd4hep @DD4HEP_VERSION@ -add_dep boost @BOOST_VERSION@ -add_dep eigen @EIGEN_VERSION@