[libc-commits] [PATCH] D145983: [libc] Fix policy CMP0116 warnings for cmake 3.20 or above.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Mar 13 13:23:05 PDT 2023
sivachandra added inline comments.
================
Comment at: libc/CMakeLists.txt:7
+ cmake_policy(SET CMP0116 OLD)
+endif()
+
----------------
The approach taken by other LLVM projects is to use the LLVM wide common policy settings. We should copy that approach. For example, look at what clang does: https://github.com/llvm/llvm-project/blob/main/clang/CMakeLists.txt#L3
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145983/new/
https://reviews.llvm.org/D145983
More information about the libc-commits
mailing list