From b391b77eed885e9361b52c8e0a771d4eaf9c53d2 Mon Sep 17 00:00:00 2001 From: Marcel Koch Date: Mon, 13 Nov 2023 13:18:16 +0100 Subject: [PATCH] install git hooks in correct directory --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf243ab8032..64d43068b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -384,6 +384,7 @@ if(GINKGO_DEVEL_TOOLS) endif() execute_process(COMMAND "${PRE_COMMIT}" "install" + WORKING_DIRECTORY ${Ginkgo_SOURCE_DIR} RESULT_VARIABLE pre-commit-result OUTPUT_VARIABLE pre-commit-output ERROR_VARIABLE pre-commit-error)