From 8ee4de3fe6780dc88f48f6d64f0219176da0caab Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 8 Oct 2018 23:22:04 +0300 Subject: [PATCH] Remove GIT_SHALLOW as it requires 3.6 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bdfb487..cb44052 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,19 +22,19 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) include(cmake/FetchContent.cmake) message(STATUS "Fetching pdimov/mincmake") - FetchContent_Populate(pdimov_mincmake QUIET GIT_REPOSITORY https://github.com/pdimov/mincmake GIT_TAG master GIT_SHALLOW 1) + FetchContent_Populate(pdimov_mincmake QUIET GIT_REPOSITORY https://github.com/pdimov/mincmake GIT_TAG master) include(${pdimov_mincmake_SOURCE_DIR}/cmake/boost_test.cmake) message(STATUS "Fetching boostorg/assert") - FetchContent_Populate(boostorg_assert QUIET GIT_REPOSITORY https://github.com/boostorg/assert GIT_TAG develop GIT_SHALLOW 1) + FetchContent_Populate(boostorg_assert QUIET GIT_REPOSITORY https://github.com/boostorg/assert GIT_TAG develop) add_subdirectory(${boostorg_assert_SOURCE_DIR} ${boostorg_assert_BINARY_DIR}) message(STATUS "Fetching boostorg/config") - FetchContent_Populate(boostorg_config QUIET GIT_REPOSITORY https://github.com/boostorg/config GIT_TAG develop GIT_SHALLOW 1) + FetchContent_Populate(boostorg_config QUIET GIT_REPOSITORY https://github.com/boostorg/config GIT_TAG develop) add_subdirectory(${boostorg_config_SOURCE_DIR} ${boostorg_config_BINARY_DIR}) message(STATUS "Fetching boostorg/core") - FetchContent_Populate(boostorg_core QUIET GIT_REPOSITORY https://github.com/boostorg/core GIT_TAG develop GIT_SHALLOW 1) + FetchContent_Populate(boostorg_core QUIET GIT_REPOSITORY https://github.com/boostorg/core GIT_TAG develop) add_subdirectory(${boostorg_core_SOURCE_DIR} ${boostorg_core_BINARY_DIR}) enable_testing()