From a5e7a0a90a956dd5d4d11001cb39485260ad439b Mon Sep 17 00:00:00 2001 From: Ferran Obon Date: Mon, 3 Nov 2025 20:13:24 +0100 Subject: [PATCH] Bump cmake minimum version to 3.13 Having the minimum cmake version lower than 3.13 will leave policies CMP0079 and CMP0077 unset. This will have conflicts with other projects that use cppzmq with add_subdirectory and that have a dependency on Catch2 as well to fail to compile. Bumping the cmake_minimum_version to 3.13 prevents that. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3035755..393e4f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.11) +cmake_minimum_required(VERSION 3.13) list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(CMAKE_EXPORT_COMPILE_COMMANDS ON)