From e4b9dfba49645b1aec4d31bc01e8327da4d90229 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timoth=C3=A9e=20Ravier?= Date: Tue, 23 Dec 2025 11:52:07 +0100 Subject: [PATCH] tests/CMakeLists: Allow build with CMake 4 See: https://github.com/json-c/json-c/issues/889 --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 03c16dc6..345f93da 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.12) # see ../CMakeLists.txt for why add_executable(test1Formatted test1.c parse_flags.c parse_flags.h) target_compile_definitions(test1Formatted PRIVATE TEST_FORMATTED=1) target_link_libraries(test1Formatted PRIVATE ${PROJECT_NAME}) -- 2.47.3