From b33b3dd494935610caca8413db350ad9fe204285 Mon Sep 17 00:00:00 2001 From: Jonny Paton Date: Tue, 27 Aug 2024 13:51:36 +0100 Subject: [PATCH] Use shallow git clone for SFML --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 90b580b8..8b586b73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,8 @@ option(BUILD_SHARED_LIBS "Build shared libraries" OFF) include(FetchContent) FetchContent_Declare(SFML GIT_REPOSITORY https://github.com/SFML/SFML.git - GIT_TAG 2.6.x) + GIT_TAG 2.6.x + GIT_SHALLOW ON) FetchContent_MakeAvailable(SFML) add_executable(main src/main.cpp)