Skip to content

Commit

Permalink
Don't shallow clone WIL (#3)
Browse files Browse the repository at this point in the history
Set "GIT_SHALLOW" to "OFF" in Cmake FetchContent.
It prevented Fetch_Content from finding commit different from the latest one and cause build break.
  • Loading branch information
guhetier authored Feb 1, 2022
1 parent 6c98a71 commit 13bc952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 13bc952

Please sign in to comment.