[llvm-dev] [cfe-dev] Fwd: Raising CMake minimum version to 3.4.3

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 27 12:12:43 PDT 2016


On 27 April 2016 at 20:01, Chuck Atkins <chuck.atkins at kitware.com> wrote:
> cmake/modules/ExternalProject.cmake:
> if(CMAKE_VERSION VERSION_LESS "3.5.1")
>
> include(${PROJECT_SOURCE_DIR}/cmake/modules/newcmake/ExternalProject.cmake)
> else()
>   include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
> endif()

This could still be dangerous if the user has a git clone.

I'd rather follow what Chris said, and update CMake version's every
year or two, than have to rely on multiple configuration scenarios
that not everyone tests.

cheers,
--renato


More information about the llvm-dev mailing list