add cmake checks caching
This commit is contained in:
1
3rdParty/CMakeLists.txt
vendored
1
3rdParty/CMakeLists.txt
vendored
@@ -32,6 +32,7 @@ add_subdirectory(boost)
|
||||
add_subdirectory(units)
|
||||
add_subdirectory(libjpeg-turbo)
|
||||
add_subdirectory(msdf)
|
||||
add_subdirectory(cmake-checks-cache)
|
||||
if (NOT IOS AND ENABLE_CURL)
|
||||
add_subdirectory(curl)
|
||||
endif()
|
||||
|
||||
14
3rdParty/cmake-checks-cache/CMakeLists.txt
vendored
Normal file
14
3rdParty/cmake-checks-cache/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user