Skip to content

Commit 54a3e6f

Browse files
fix: mangled url for FetchContent in cmake 3.16 (jeremy-rifkin#176)
Fixes jeremy-rifkin#174 Seems to be that older versions of CMake has a tendency to mangle URLs as per described in https://stackoverflow.com/questions/74996365/
1 parent 06eb15b commit 54a3e6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF)
422422
set(ZSTD_LEGACY_SUPPORT OFF)
423423
FetchContent_Declare(
424424
zstd
425-
URL "${CPPTRACE_ZSTD_URL}"
426-
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
427425
SOURCE_SUBDIR build/cmake
426+
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
427+
URL "${CPPTRACE_ZSTD_URL}"
428428
)
429429
FetchContent_MakeAvailable(zstd)
430430
endif()

0 commit comments

Comments
 (0)