[libc-commits] [PATCH] D143139: [libc] Bump minimum CMake version to 3.20.0 and remove a now uneccesary policy.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Feb 1 23:26:09 PST 2023
sivachandra created this revision.
sivachandra added reviewers: michaelrj, jhuber6.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
CMake on all of libc's builders has been upgraded to 3.20.0 in line with the
version bump for the rest of LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143139
Files:
libc/CMakeLists.txt
Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -1,11 +1,8 @@
-cmake_minimum_required(VERSION 3.13.4)
+cmake_minimum_required(VERSION 3.20.0)
# Default to C++17
set(CMAKE_CXX_STANDARD 17)
-# Use old version of target_sources command which converts the source
-# file paths to full paths.
-cmake_policy(SET CMP0076 OLD)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
# The top-level sourse and binary directories.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143139.494174.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230202/9d86612b/attachment-0001.bin>
More information about the libc-commits
mailing list