14 lines
312 B
CMake
14 lines
312 B
CMake
include (FetchContent)
|
|
|
|
if(NOT DEFINED CMAKE_CHECKS_REPO)
|
|
set(CMAKE_CHECKS_REPO https://github.com/cristianadam/cmake-checks-cache.git)
|
|
endif ()
|
|
|
|
FetchContent_Declare(
|
|
cmake-checks-cache
|
|
GIT_REPOSITORY ${CMAKE_CHECKS_REPO}
|
|
GIT_TAG master
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
|
|
FetchContent_MakeAvailable(cmake-checks-cache) |