Browse Source

external/CMakeLists.txt : Fix Boost FetchContent extraction timestamps

Set DOWNLOAD_EXTRACT_TIMESTAMP to TRUE for the Boost download to use
extraction timestamps and avoid CMP0135 warnings and stale file
timestamps when the downloaded archive changes.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
e8950002fe
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      external/CMakeLists.txt

1
external/CMakeLists.txt vendored

@ -370,6 +370,7 @@ endif (NOT FFTW3F_FOUND AND NOT USE_PRECOMPILED_LIBS) @@ -370,6 +370,7 @@ endif (NOT FFTW3F_FOUND AND NOT USE_PRECOMPILED_LIBS)
include(FetchContent)
FetchContent_Declare(boost
URL "https://sourceforge.net/projects/boost/files/boost/${BOOST_TAG}/boost_${BOOST_TAG2}.tar.gz/download"
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
find_package(Boost QUIET)

Loading…
Cancel
Save