1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00
monofonIC/external/genericio.cmake
2020-08-24 10:15:29 -05:00

13 lines
365 B
CMake

cmake_minimum_required(VERSION 3.11)
include(FetchContent)
FetchContent_Declare(
genericio
GIT_REPOSITORY https://xgitlab.cels.anl.gov/hacc/genericio.git
GIT_TAG master
)
FetchContent_GetProperties(genericio)
if(NOT genericio_POPULATED)
FetchContent_Populate(genericio)
add_subdirectory(${genericio_SOURCE_DIR} ${genericio_BINARY_DIR})
endif()