[libcxx-commits] [libcxx] f26b43f - [libc++] Removes CMake work-arounds.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 5 23:10:37 PDT 2023


Author: Mark de Wever
Date: 2023-06-06T08:10:31+02:00
New Revision: f26b43fa5cc7db4e2533a16c88752f6d9f014c38

URL: https://github.com/llvm/llvm-project/commit/f26b43fa5cc7db4e2533a16c88752f6d9f014c38
DIFF: https://github.com/llvm/llvm-project/commit/f26b43fa5cc7db4e2533a16c88752f6d9f014c38.diff

LOG: [libc++] Removes CMake work-arounds.

CMake older than 3.20.0 is no longer supported.
This removes work-arounds for no longer supported versions.

Reviewed By: #libc, jloser, philnik

Differential Revision: https://reviews.llvm.org/D152099

Added: 
    

Modified: 
    libcxx/benchmarks/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt
index daa6fa2665f7b..1de1cfa99a812 100644
--- a/libcxx/benchmarks/CMakeLists.txt
+++ b/libcxx/benchmarks/CMakeLists.txt
@@ -1,8 +1,3 @@
-if (CMAKE_VERSION VERSION_LESS 3.17)
-  message(WARNING "The libc++ benchmarks won't be available because the version of CMake is too old to support them.")
-  return()
-endif()
-
 include(ExternalProject)
 include(CheckCXXCompilerFlag)
 


        


More information about the libcxx-commits mailing list