From 4312af0d50b74fef8e9dfe8a6e8f7c2635c896d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sofie=20Finnes=20=C3=98vrelid?= Date: Mon, 16 Sep 2024 15:47:50 +0200 Subject: [PATCH] fix: mangled url for FetchContent in cmake 3.16 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b017db4..8b351191 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -422,9 +422,9 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF) set(ZSTD_LEGACY_SUPPORT OFF) FetchContent_Declare( zstd - URL "${CPPTRACE_ZSTD_URL}" - DOWNLOAD_EXTRACT_TIMESTAMP TRUE SOURCE_SUBDIR build/cmake + DOWNLOAD_EXTRACT_TIMESTAMP TRUE + URL "${CPPTRACE_ZSTD_URL}" ) FetchContent_MakeAvailable(zstd) endif()