From cb81b8e6da892edbaa43f1b16b088d29a28d16a9 Mon Sep 17 00:00:00 2001 From: Louis Moureaux <louis.moureaux@cern.ch> Date: Sat, 20 Jan 2024 02:14:40 +0100 Subject: [PATCH] Install tables --- CMakeLists.txt | 9 +++++++++ protodarwin.xml.in | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24d8885..b9bda2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,3 +52,12 @@ ExternalProject_Add(ProtoDarwin ) configure_file(protodarwin.xml.in protodarwin.xml) install(FILES "${CMAKE_BINARY_DIR}/protodarwin.xml" TYPE SYSCONF) + +ExternalProject_Add(tables + GIT_REPOSITORY https://gitlab.cern.ch/DasAnalysisSystem/tables.git + GIT_TAG origin/master + SOURCE_DIR "${CMAKE_SOURCE_DIR}/tables" + CONFIGURE_COMMAND "" + BUILD_COMMAND "" + INSTALL_COMMAND "" +) diff --git a/protodarwin.xml.in b/protodarwin.xml.in index 3b16c51..9c9a632 100644 --- a/protodarwin.xml.in +++ b/protodarwin.xml.in @@ -18,5 +18,5 @@ <runtime name="LD_LIBRARY_PATH" value="${CMAKE_INSTALL_FULL_LIBDIR}" type="path"/> <runtime name="PYTHON3PATH" value="${CMAKE_INSTALL_PREFIX}/python" type="path"/> <runtime name="DARWIN_GIT_REPO" value="$CMSSW_BASE/src/Core" type="path"/><!-- TODO --> - <runtime name="DARWIN_TABLES" value="$CMSSW_BASE/../tables" type="path"/><!-- TODO --> + <runtime name="DARWIN_TABLES" value="${CMAKE_SOURCE_DIR}/tables" type="path"/> </tool> -- GitLab