diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b966ebdf3d8ace07b87c6c874e36028d012e1bf..d0d265cbb5c4ae8598c5a42ec0850f72cbeff1c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,8 @@ set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING project(Installer VERSION 1.0 LANGUAGES C) # Need a language for GNUInstallDirs +find_package(Git REQUIRED) + include(ExternalProject) include(GNUInstallDirs) @@ -57,7 +59,7 @@ ExternalProject_Add(tables GIT_REPOSITORY https://gitlab.cern.ch/cms-analysis/general/DasAnalysisSystem/tables.git GIT_TAG origin/master SOURCE_DIR "${CMAKE_SOURCE_DIR}/tables" - CONFIGURE_COMMAND "" + CONFIGURE_COMMAND "${GIT_EXECUTABLE}" lfs install BUILD_COMMAND "" INSTALL_COMMAND "" )