From 706eefba7c1582f2637ea376bf27e249b0f561b8 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 5 Jan 2023 00:22:53 +0000 Subject: [PATCH] Fix cmake_minimum_required https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command. It is important to establish version and policy settings before invoking other commands whose behavior they may affect. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 482d337..930fa33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -project(limereport) cmake_minimum_required(VERSION 3.14) +project(limereport) set(LIMEREPORT_VERSION_MAJOR 1) set(LIMEREPORT_VERSION_MINOR 6)