[llvm] [CMake][AIX] Enable CMP0182: Create shared library archives by default (PR #155686)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 15:12:24 PDT 2025


================
@@ -41,3 +41,9 @@ if(POLICY CMP0156)
     cmake_policy(SET CMP0179 NEW)
   endif()
 endif()
+
+# CMP0182: Create shared library archives by default on AIX.
+# New in CMake 4.0: https://cmake.org/cmake/help/latest/policy/CMP0182.html
+if(POLICY CMP0182)
+    cmake_policy(SET CMP0182 NEW)
----------------
hubert-reinterpretcast wrote:

```suggestion
  cmake_policy(SET CMP0182 NEW)
```

https://github.com/llvm/llvm-project/pull/155686


More information about the llvm-commits mailing list