summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-05-13 16:57:37 -0400
committerGlenn Smith <glenn@vector35.com>2025-05-13 17:09:48 -0400
commit1408212717861485772985940474034078282829 (patch)
tree0a090e294d384276d0e5374cde8432ae40cf9602
parent7034620653386995816157558520033738480413 (diff)
[CMake] Report compatibility with 3.15 to silence deprecation warnings
-rw-r--r--arch/arm64/CMakeLists.txt2
-rw-r--r--arch/armv7/CMakeLists.txt2
-rw-r--r--arch/mips/CMakeLists.txt2
-rw-r--r--arch/msp430/CMakeLists.txt2
-rw-r--r--arch/riscv/CMakeLists.txt2
-rw-r--r--examples/bin-info/CMakeLists.txt2
-rw-r--r--examples/breakpoint/CMakeLists.txt2
-rw-r--r--examples/cmdline_disasm/CMakeLists.txt2
-rw-r--r--examples/enterprise_test/CMakeLists.txt2
-rw-r--r--examples/llil_parser/CMakeLists.txt2
-rw-r--r--examples/mlil_parser/CMakeLists.txt2
-rw-r--r--examples/print_syscalls/CMakeLists.txt2
-rw-r--r--examples/triage/CMakeLists.txt2
-rw-r--r--examples/workflows/inliner/CMakeLists.txt2
-rw-r--r--examples/workflows/tailcall/CMakeLists.txt2
-rw-r--r--examples/x86_extension/CMakeLists.txt2
-rw-r--r--formatter/generic/CMakeLists.txt2
-rw-r--r--lang/c/CMakeLists.txt2
-rw-r--r--lang/rust/CMakeLists.txt2
-rw-r--r--platform/decree/CMakeLists.txt2
-rw-r--r--platform/efi/CMakeLists.txt2
-rw-r--r--platform/freebsd/CMakeLists.txt2
-rw-r--r--platform/linux/CMakeLists.txt2
-rw-r--r--platform/mac-kernel/CMakeLists.txt2
-rw-r--r--platform/mac/CMakeLists.txt2
-rw-r--r--platform/windows-kernel/CMakeLists.txt2
-rw-r--r--platform/windows/CMakeLists.txt2
-rw-r--r--plugins/dwarf/dwarf_export/CMakeLists.txt2
-rw-r--r--plugins/dwarf/dwarf_import/CMakeLists.txt2
-rw-r--r--plugins/idb_import/CMakeLists.txt2
-rw-r--r--plugins/pdb-ng/CMakeLists.txt2
-rw-r--r--plugins/rtti/CMakeLists.txt2
-rw-r--r--plugins/stack_render_layer/CMakeLists.txt2
-rw-r--r--plugins/svd/CMakeLists.txt2
-rw-r--r--plugins/warp/CMakeLists.txt2
-rw-r--r--python/CMakeLists.txt2
-rw-r--r--rust/CMakeLists.txt1
-rw-r--r--view/elf/CMakeLists.txt2
-rw-r--r--view/kernelcache/api/python/CMakeLists.txt2
-rw-r--r--view/kernelcache/ui/CMakeLists.txt2
-rw-r--r--view/macho/CMakeLists.txt2
-rw-r--r--view/md1rom/CMakeLists.txt2
-rw-r--r--view/pe/CMakeLists.txt2
-rw-r--r--view/sharedcache/api/python/CMakeLists.txt2
-rw-r--r--view/sharedcache/ui/CMakeLists.txt2
45 files changed, 44 insertions, 45 deletions
diff --git a/arch/arm64/CMakeLists.txt b/arch/arm64/CMakeLists.txt
index f4b414bb..caf3e06c 100644
--- a/arch/arm64/CMakeLists.txt
+++ b/arch/arm64/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(arch_arm64 CXX C)
diff --git a/arch/armv7/CMakeLists.txt b/arch/armv7/CMakeLists.txt
index 5002790b..c4bea7a7 100644
--- a/arch/armv7/CMakeLists.txt
+++ b/arch/armv7/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(arch_armv7)
diff --git a/arch/mips/CMakeLists.txt b/arch/mips/CMakeLists.txt
index b85248c8..30dd661e 100644
--- a/arch/mips/CMakeLists.txt
+++ b/arch/mips/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(arch_mips)
diff --git a/arch/msp430/CMakeLists.txt b/arch/msp430/CMakeLists.txt
index 034ed1e2..11e3e025 100644
--- a/arch/msp430/CMakeLists.txt
+++ b/arch/msp430/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(arch_msp430)
diff --git a/arch/riscv/CMakeLists.txt b/arch/riscv/CMakeLists.txt
index ffa28b7b..2c5fd54a 100644
--- a/arch/riscv/CMakeLists.txt
+++ b/arch/riscv/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(arch_riscv)
diff --git a/examples/bin-info/CMakeLists.txt b/examples/bin-info/CMakeLists.txt
index 7f6126f2..d06ce288 100644
--- a/examples/bin-info/CMakeLists.txt
+++ b/examples/bin-info/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(bin-info CXX C)
diff --git a/examples/breakpoint/CMakeLists.txt b/examples/breakpoint/CMakeLists.txt
index d6fef7f5..00a35b45 100644
--- a/examples/breakpoint/CMakeLists.txt
+++ b/examples/breakpoint/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(breakpoint CXX C)
diff --git a/examples/cmdline_disasm/CMakeLists.txt b/examples/cmdline_disasm/CMakeLists.txt
index eba0a1c9..b515bce3 100644
--- a/examples/cmdline_disasm/CMakeLists.txt
+++ b/examples/cmdline_disasm/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(cmdline_disasm CXX C)
diff --git a/examples/enterprise_test/CMakeLists.txt b/examples/enterprise_test/CMakeLists.txt
index 9833817c..87221afc 100644
--- a/examples/enterprise_test/CMakeLists.txt
+++ b/examples/enterprise_test/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(enterprise_test CXX C)
diff --git a/examples/llil_parser/CMakeLists.txt b/examples/llil_parser/CMakeLists.txt
index a33893e6..e3f6661c 100644
--- a/examples/llil_parser/CMakeLists.txt
+++ b/examples/llil_parser/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(llil_parser CXX C)
diff --git a/examples/mlil_parser/CMakeLists.txt b/examples/mlil_parser/CMakeLists.txt
index 625adcb0..6b4a235e 100644
--- a/examples/mlil_parser/CMakeLists.txt
+++ b/examples/mlil_parser/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(mlil_parser CXX C)
diff --git a/examples/print_syscalls/CMakeLists.txt b/examples/print_syscalls/CMakeLists.txt
index b3f765da..6135c361 100644
--- a/examples/print_syscalls/CMakeLists.txt
+++ b/examples/print_syscalls/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(print_syscalls CXX C)
diff --git a/examples/triage/CMakeLists.txt b/examples/triage/CMakeLists.txt
index 9c1be84c..a250e09b 100644
--- a/examples/triage/CMakeLists.txt
+++ b/examples/triage/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(triage CXX C)
diff --git a/examples/workflows/inliner/CMakeLists.txt b/examples/workflows/inliner/CMakeLists.txt
index a831a45a..882b443c 100644
--- a/examples/workflows/inliner/CMakeLists.txt
+++ b/examples/workflows/inliner/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(workflow_inliner)
diff --git a/examples/workflows/tailcall/CMakeLists.txt b/examples/workflows/tailcall/CMakeLists.txt
index 37b4d502..60679dd7 100644
--- a/examples/workflows/tailcall/CMakeLists.txt
+++ b/examples/workflows/tailcall/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(workflow_tailcall)
diff --git a/examples/x86_extension/CMakeLists.txt b/examples/x86_extension/CMakeLists.txt
index 863a27b9..9a668f37 100644
--- a/examples/x86_extension/CMakeLists.txt
+++ b/examples/x86_extension/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(x86_extension CXX C)
diff --git a/formatter/generic/CMakeLists.txt b/formatter/generic/CMakeLists.txt
index 85a5a3e2..42a9744a 100644
--- a/formatter/generic/CMakeLists.txt
+++ b/formatter/generic/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(formatter_generic)
diff --git a/lang/c/CMakeLists.txt b/lang/c/CMakeLists.txt
index 9ccc89f2..94ffd42a 100644
--- a/lang/c/CMakeLists.txt
+++ b/lang/c/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(lang_pseudoc)
diff --git a/lang/rust/CMakeLists.txt b/lang/rust/CMakeLists.txt
index e374d8e9..41d424b1 100644
--- a/lang/rust/CMakeLists.txt
+++ b/lang/rust/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(lang_pseudorust)
diff --git a/platform/decree/CMakeLists.txt b/platform/decree/CMakeLists.txt
index 646580ee..9a39c34c 100644
--- a/platform/decree/CMakeLists.txt
+++ b/platform/decree/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_decree)
diff --git a/platform/efi/CMakeLists.txt b/platform/efi/CMakeLists.txt
index 1da0a2d7..30f7b328 100644
--- a/platform/efi/CMakeLists.txt
+++ b/platform/efi/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_efi)
diff --git a/platform/freebsd/CMakeLists.txt b/platform/freebsd/CMakeLists.txt
index fd7889b6..f7fda4ea 100644
--- a/platform/freebsd/CMakeLists.txt
+++ b/platform/freebsd/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_freebsd)
diff --git a/platform/linux/CMakeLists.txt b/platform/linux/CMakeLists.txt
index 03c1ce5d..114b1b1f 100644
--- a/platform/linux/CMakeLists.txt
+++ b/platform/linux/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_linux)
diff --git a/platform/mac-kernel/CMakeLists.txt b/platform/mac-kernel/CMakeLists.txt
index add7a3d1..86f0f7fa 100644
--- a/platform/mac-kernel/CMakeLists.txt
+++ b/platform/mac-kernel/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_mac_kernel)
diff --git a/platform/mac/CMakeLists.txt b/platform/mac/CMakeLists.txt
index 9ead5abd..fd0c35fb 100644
--- a/platform/mac/CMakeLists.txt
+++ b/platform/mac/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_mac)
diff --git a/platform/windows-kernel/CMakeLists.txt b/platform/windows-kernel/CMakeLists.txt
index eafe32b9..d1cfe1ac 100644
--- a/platform/windows-kernel/CMakeLists.txt
+++ b/platform/windows-kernel/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_windows_kernel)
diff --git a/platform/windows/CMakeLists.txt b/platform/windows/CMakeLists.txt
index e244fd49..827d53b9 100644
--- a/platform/windows/CMakeLists.txt
+++ b/platform/windows/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(platform_windows)
diff --git a/plugins/dwarf/dwarf_export/CMakeLists.txt b/plugins/dwarf/dwarf_export/CMakeLists.txt
index 2e8f15d4..f388f8fc 100644
--- a/plugins/dwarf/dwarf_export/CMakeLists.txt
+++ b/plugins/dwarf/dwarf_export/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(dwarf_export)
diff --git a/plugins/dwarf/dwarf_import/CMakeLists.txt b/plugins/dwarf/dwarf_import/CMakeLists.txt
index 0126a7a8..b7357ae4 100644
--- a/plugins/dwarf/dwarf_import/CMakeLists.txt
+++ b/plugins/dwarf/dwarf_import/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(dwarf_import)
diff --git a/plugins/idb_import/CMakeLists.txt b/plugins/idb_import/CMakeLists.txt
index 4cd52784..8241e09c 100644
--- a/plugins/idb_import/CMakeLists.txt
+++ b/plugins/idb_import/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(idb_import)
diff --git a/plugins/pdb-ng/CMakeLists.txt b/plugins/pdb-ng/CMakeLists.txt
index 238a55b2..bfd5332f 100644
--- a/plugins/pdb-ng/CMakeLists.txt
+++ b/plugins/pdb-ng/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(pdb_import_plugin)
diff --git a/plugins/rtti/CMakeLists.txt b/plugins/rtti/CMakeLists.txt
index bba317d1..b1fc1e42 100644
--- a/plugins/rtti/CMakeLists.txt
+++ b/plugins/rtti/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(rtti)
diff --git a/plugins/stack_render_layer/CMakeLists.txt b/plugins/stack_render_layer/CMakeLists.txt
index 3133e63d..a578ed06 100644
--- a/plugins/stack_render_layer/CMakeLists.txt
+++ b/plugins/stack_render_layer/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(stack_render_layer)
diff --git a/plugins/svd/CMakeLists.txt b/plugins/svd/CMakeLists.txt
index 9055de1b..253eb523 100644
--- a/plugins/svd/CMakeLists.txt
+++ b/plugins/svd/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(svd_ninja)
diff --git a/plugins/warp/CMakeLists.txt b/plugins/warp/CMakeLists.txt
index f529df14..762eaf90 100644
--- a/plugins/warp/CMakeLists.txt
+++ b/plugins/warp/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(warp_ninja)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 63fb2d4e..8c8d26f8 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(python-api)
diff --git a/rust/CMakeLists.txt b/rust/CMakeLists.txt
index 67c1fd5b..3e2dc32f 100644
--- a/rust/CMakeLists.txt
+++ b/rust/CMakeLists.txt
@@ -50,7 +50,6 @@ add_custom_command(
PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E env BINARYNINJADIR=${BN_INSTALL_BIN_DIR} ${RUSTUP_CHECK_COMMAND} ${CARGO_CHECK_OPTS}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
- DEPENDS ${RUST_API_SOURCES}
)
add_custom_command(
diff --git a/view/elf/CMakeLists.txt b/view/elf/CMakeLists.txt
index dbd252d2..c7b0a171 100644
--- a/view/elf/CMakeLists.txt
+++ b/view/elf/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(view_elf)
diff --git a/view/kernelcache/api/python/CMakeLists.txt b/view/kernelcache/api/python/CMakeLists.txt
index 60fceeeb..07e96298 100644
--- a/view/kernelcache/api/python/CMakeLists.txt
+++ b/view/kernelcache/api/python/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(kernelcache-python-api)
diff --git a/view/kernelcache/ui/CMakeLists.txt b/view/kernelcache/ui/CMakeLists.txt
index 369dc603..21bdc0f4 100644
--- a/view/kernelcache/ui/CMakeLists.txt
+++ b/view/kernelcache/ui/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(kernelcacheui)
diff --git a/view/macho/CMakeLists.txt b/view/macho/CMakeLists.txt
index fc8a8f7b..6e628b1f 100644
--- a/view/macho/CMakeLists.txt
+++ b/view/macho/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(view_macho)
diff --git a/view/md1rom/CMakeLists.txt b/view/md1rom/CMakeLists.txt
index ebf2fa11..0a6c9ab3 100644
--- a/view/md1rom/CMakeLists.txt
+++ b/view/md1rom/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(view_md1rom)
diff --git a/view/pe/CMakeLists.txt b/view/pe/CMakeLists.txt
index bc113b1e..097df32c 100644
--- a/view/pe/CMakeLists.txt
+++ b/view/pe/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(view_pe)
diff --git a/view/sharedcache/api/python/CMakeLists.txt b/view/sharedcache/api/python/CMakeLists.txt
index 9d62eee4..61de6d1a 100644
--- a/view/sharedcache/api/python/CMakeLists.txt
+++ b/view/sharedcache/api/python/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(sharedcache-python-api)
diff --git a/view/sharedcache/ui/CMakeLists.txt b/view/sharedcache/ui/CMakeLists.txt
index c8d592c6..3ab1969e 100644
--- a/view/sharedcache/ui/CMakeLists.txt
+++ b/view/sharedcache/ui/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
project(sharedcacheui)