From 401a70fbd745ac05a4a0b7db356dcbc71b1d4cb1 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 28 Jan 2022 21:21:43 +0100 Subject: [PATCH] CMake: Version 2.4 and below should fail instead of giving a warning --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f27a40d..919050b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ add_custom_target(run # ------------------------------------------ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.16 FATAL_ERROR) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)