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.
This commit is contained in:
Anton
2023-01-05 00:22:53 +00:00
committed by GitHub
parent f202c57a43
commit 706eefba7c

View File

@@ -1,5 +1,5 @@
project(limereport)
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.14)
project(limereport)
set(LIMEREPORT_VERSION_MAJOR 1) set(LIMEREPORT_VERSION_MAJOR 1)
set(LIMEREPORT_VERSION_MINOR 6) set(LIMEREPORT_VERSION_MINOR 6)