This commit is contained in:
13
deploy/cpp_infer/external-cmake/auto-log.cmake
Normal file
13
deploy/cpp_infer/external-cmake/auto-log.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
find_package(Git REQUIRED)
|
||||
include(FetchContent)
|
||||
|
||||
set(FETCHCONTENT_BASE_DIR "${CMAKE_CURRENT_BINARY_DIR}/third-party")
|
||||
|
||||
FetchContent_Declare(
|
||||
extern_Autolog
|
||||
PREFIX autolog
|
||||
# If you don't have access to github, replace it with https://gitee.com/Double_V/AutoLog
|
||||
GIT_REPOSITORY https://github.com/LDOUBLEV/AutoLog.git
|
||||
GIT_TAG main
|
||||
)
|
||||
FetchContent_MakeAvailable(extern_Autolog)
|
||||
Reference in New Issue
Block a user