export: Increase maximum policy version in exported files to 4.1

The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 4.1, so enable them in sufficiently new CMake versions.
This commit is contained in:
Brad King
2025-12-19 07:22:51 -05:00
parent 8a7657cf87
commit 571b438d41
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
cmake_policy(PUSH)
cmake_policy(VERSION 2.8.12...4.0)
cmake_policy(VERSION 2.8.12...4.1)
#----------------------------------------------------------------
# Generated CMake Java target import file.