Skip to content

Commit

Permalink
Use shallow git clone for SFML
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyPtn authored and ChrisThrasher committed Aug 27, 2024
1 parent c90235e commit 7f96df4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f96df4

Please sign in to comment.