microsoft / proxy

Proxy: Next Generation Polymorphism in C++
https://wg21.link/p3086
MIT License
2.17k stars 134 forks source link

CMake won't build if the version is below 3.24 #154

Closed mingxwa closed 3 months ago

mingxwa commented 3 months ago

DOWNLOAD_EXTRACT_TIMESTAMP is only available since 3.24, while the declared minimum version of CMake is 3.5. Below is the error message when building "Proxy" against CMake 3.22:

CMake Error at /usr/share/cmake-3.22/Modules/ExternalProject.cmake:2806 (message):
  At least one entry of URL is a path (invalid in a list)
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/ExternalProject.cmake:3716 (_ep_add_download_command)
  CMakeLists.txt:15 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!
See also "/home/x/proxy/build-clang-18/_deps/googletest-subbuild/CMakeFiles/CMakeOutput.log".

CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1075 (message):
  CMake step for googletest failed: 1
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1259 (FetchContent_Populate)
  CMakeLists.txt:39 (FetchContent_MakeAvailable)

-- Configuring incomplete, errors occurred!