From a59639d7d2d545dbfea0522f27d87c6407f32e95 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Thu, 12 Sep 2024 10:38:58 -0400 Subject: [PATCH] [cmake] Fix issue in PATCH_COMMAND that appear for recent cmake version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fad576..3c031c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ FetchContent_Declare( w2dynamics GIT_REPOSITORY https://github.com/w2dynamics/w2dynamics GIT_TAG ${W2DYN_GIT_HASH} - PATCH_COMMAND ${TRIQS_GIT_EXECUTABLE} checkout . && ${TRIQS_GIT_EXECUTABLE} apply ${PROJECT_SOURCE_DIR}/w2dynamics.patch + PATCH_COMMAND ${TRIQS_GIT_EXECUTABLE} apply ${PROJECT_SOURCE_DIR}/w2dynamics.patch ) FetchContent_MakeAvailable(w2dynamics)