mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-19 17:03:45 +02:00
added progress verbosity to cmake fetch to avoid impression that cmake hangs while it clones CLASS
This commit is contained in:
parent
ad2af877f4
commit
143e5382a9
1 changed files with 3 additions and 0 deletions
3
external/class.cmake
vendored
3
external/class.cmake
vendored
|
@ -4,10 +4,13 @@ FetchContent_Declare(
|
|||
class
|
||||
GIT_REPOSITORY https://github.com/ohahn/class_public.git
|
||||
GIT_TAG master
|
||||
GIT_PROGRESS TRUE
|
||||
USES_TERMINAL_DOWNLOAD TRUE # <---- this is needed only for Ninja
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(class)
|
||||
if(NOT class_POPULATED)
|
||||
set(FETCHCONTENT_QUIET OFF)
|
||||
FetchContent_Populate(class)
|
||||
add_subdirectory(${class_SOURCE_DIR} ${class_BINARY_DIR})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue