Skip to content

Commit

Permalink
CMake: added "GIT_SHALLOW 1" for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhdanNV committed Feb 4, 2025
1 parent 49f790e commit 801660d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ if(NRI_ENABLE_NVTX_SUPPORT)
nvtx
GIT_REPOSITORY https://github.com/NVIDIA/NVTX.git
GIT_TAG dev
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS nvtx)
Expand All @@ -229,6 +230,7 @@ if(NRI_ENABLE_D3D_EXTENSIONS)
nvapi
GIT_REPOSITORY https://github.com/NVIDIA/nvapi.git
GIT_TAG main
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS nvapi)
Expand All @@ -238,6 +240,7 @@ if(NRI_ENABLE_D3D_EXTENSIONS)
amdags
GIT_REPOSITORY https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK.git
GIT_TAG master
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS amdags)
Expand All @@ -249,6 +252,7 @@ if(NRI_ENABLE_D3D12_SUPPORT)
d3d12ma
GIT_REPOSITORY https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
GIT_TAG master
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS d3d12ma)
Expand All @@ -260,6 +264,7 @@ if(NRI_ENABLE_VK_SUPPORT)
vulkan_headers
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers.git
GIT_TAG origin/vulkan-sdk-1.4.304
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS vulkan_headers)
Expand All @@ -269,6 +274,7 @@ if(NRI_ENABLE_VK_SUPPORT)
vma
GIT_REPOSITORY https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
GIT_TAG master
GIT_SHALLOW 1
SOURCE_SUBDIR "ignore CMakeLists.txt"
)
list(APPEND DEPS vma)
Expand Down

0 comments on commit 801660d

Please sign in to comment.