Browse Source

chore(cmake): use GIT_SHALLOW for imgui (#2148)

huihao 2 years ago
parent
commit
2f625e66fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmake/recipes/external/imgui.cmake

+ 1 - 0
cmake/recipes/external/imgui.cmake

@@ -9,6 +9,7 @@ FetchContent_Declare(
     imgui
     GIT_REPOSITORY https://github.com/ocornut/imgui.git
     GIT_TAG v1.85
+    GIT_SHALLOW TRUE
 )
 FetchContent_MakeAvailable(imgui)