FetchContent: Coredump due to assertion failure when extracting to absolute path
CMake version: 3.15.5 OS: Arch Linux
Reproduce:
cmake_minimum_required(VERSION 3.15)
project(cmake-fetchcontent-reproduce)
include(FetchContent)
FetchContent_declare(
cmake
URL https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.tar.gz
SOURCE_DIR /opt
)
FetchContent_MakeAvailable(cmake)