export: Increase maximum policy version in exported files to 3.28

The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 3.28, so enable them in sufficiently new CMake versions.
This commit is contained in:
Brad King
2024-02-06 17:04:49 -05:00
parent 9c5e981e60
commit c432365e10
2 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
cmake_policy(PUSH)
cmake_policy(VERSION 2.8.12...3.27)
cmake_policy(VERSION 2.8.12...3.28)
#----------------------------------------------------------------
# Generated CMake Java target import file.