include(FetchContent) FetchContent_Declare( spdlog GIT_REPOSITORY https://15209444885:9e4e79586fa1a4d39e6634de8881b19e@gitee.com/MaderHatter/spdlog.git SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/spdlog ) FetchContent_MakeAvailable(spdlog)