diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31e8048..1eec936 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,8 +7,7 @@ include(FetchContent)
 
 FetchContent_Declare(
         spdlog
-        GIT_REPOSITORY https://github.com/gabime/spdlog.git
-        GIT_TAG v1.10.0
+        SOURCE_DIR @spdlog_src@
 )
 FetchContent_MakeAvailable(spdlog)
 
