14 lines
301 B
CMake
14 lines
301 B
CMake
find_package(Git REQUIRED)
|
|
include(FetchContent)
|
|
|
|
set(FETCHCONTENT_BASE_DIR "${CMAKE_CURRENT_BINARY_DIR}/third-party")
|
|
|
|
FetchContent_Declare(
|
|
extern_Autolog
|
|
PREFIX autolog
|
|
GIT_REPOSITORY https://github.com/LDOUBLEV/AutoLog.git
|
|
GIT_TAG main
|
|
)
|
|
FetchContent_MakeAvailable(extern_Autolog)
|
|
|