[PATCH] D150884: depdendent projects fail to build with cmake 3.25 and llvm 16-rc4
Sam James via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 22 12:07:29 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG75a0502fe005: [CMake] Set compatibility policy for lists in LLVM-Config.cmake. (authored by juchem, committed by thesamesam).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150884/new/
https://reviews.llvm.org/D150884
Files:
llvm/cmake/modules/LLVM-Config.cmake
Index: llvm/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/cmake/modules/LLVM-Config.cmake
+++ llvm/cmake/modules/LLVM-Config.cmake
@@ -1,3 +1,6 @@
+cmake_policy(PUSH)
+cmake_policy(SET CMP0057 NEW)
+
function(get_system_libs return_var)
message(AUTHOR_WARNING "get_system_libs no longer needed")
set(${return_var} "" PARENT_SCOPE)
@@ -343,3 +346,5 @@
endforeach(c)
set(${out_libs} ${result} PARENT_SCOPE)
endfunction(explicit_map_components_to_libraries)
+
+cmake_policy(POP)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150884.524424.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/d5bed8db/attachment.bin>
More information about the llvm-commits
mailing list