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)