From 13bc95208af4bbdb3952e9c36a22f0bb1f729d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20H=C3=A9tier?= Date: Tue, 1 Feb 2022 13:24:44 -0800 Subject: [PATCH] Don't shallow clone WIL (#3) Set "GIT_SHALLOW" to "OFF" in Cmake FetchContent. It prevented Fetch_Content from finding commit different from the latest one and cause build break. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ec08dd..5ff5a4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ set(WIL_BUILD_PACKAGING OFF CACHE INTERNAL "Turn off wil packaging") FetchContent_Declare(WIL GIT_REPOSITORY "https://github.com/microsoft/wil" GIT_TAG "f9284c19c9873664978b873b8858d7dfacc6af1e" - GIT_SHALLOW ON + GIT_SHALLOW OFF ) FetchContent_MakeAvailable(WIL)