fix: mangled url for FetchContent in cmake 3.16 (#176)
Fixes #174 Seems to be that older versions of CMake has a tendency to mangle URLs as per described in https://stackoverflow.com/questions/74996365/
This commit is contained in:
parent
06eb15bda6
commit
54a3e6fdf7
@ -422,9 +422,9 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF)
|
|||||||
set(ZSTD_LEGACY_SUPPORT OFF)
|
set(ZSTD_LEGACY_SUPPORT OFF)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
zstd
|
zstd
|
||||||
URL "${CPPTRACE_ZSTD_URL}"
|
|
||||||
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
|
||||||
SOURCE_SUBDIR build/cmake
|
SOURCE_SUBDIR build/cmake
|
||||||
|
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
||||||
|
URL "${CPPTRACE_ZSTD_URL}"
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(zstd)
|
FetchContent_MakeAvailable(zstd)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user