mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-19 17:03:45 +02:00
shallow-fetch external libraries
This commit is contained in:
parent
143e5382a9
commit
4ecc025ec7
2 changed files with 5 additions and 0 deletions
1
external/class.cmake
vendored
1
external/class.cmake
vendored
|
@ -4,6 +4,7 @@ FetchContent_Declare(
|
|||
class
|
||||
GIT_REPOSITORY https://github.com/ohahn/class_public.git
|
||||
GIT_TAG master
|
||||
GIT_SHALLOW YES
|
||||
GIT_PROGRESS TRUE
|
||||
USES_TERMINAL_DOWNLOAD TRUE # <---- this is needed only for Ninja
|
||||
)
|
||||
|
|
4
external/genericio.cmake
vendored
4
external/genericio.cmake
vendored
|
@ -4,10 +4,14 @@ FetchContent_Declare(
|
|||
genericio
|
||||
GIT_REPOSITORY https://xgitlab.cels.anl.gov/hacc/genericio.git
|
||||
GIT_TAG master
|
||||
GIT_SHALLOW YES
|
||||
GIT_PROGRESS TRUE
|
||||
USES_TERMINAL_DOWNLOAD TRUE # <---- this is needed only for Ninja
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(genericio)
|
||||
if(NOT genericio_POPULATED)
|
||||
set(FETCHCONTENT_QUIET OFF)
|
||||
FetchContent_Populate(genericio)
|
||||
add_subdirectory(${genericio_SOURCE_DIR} ${genericio_BINARY_DIR})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue