From d2c58f0bcd47bad4aa3753d17c3eadc3264d48c1 Mon Sep 17 00:00:00 2001 From: Ferenc Erki Date: Sat, 22 Jul 2023 19:48:29 +0200 Subject: [PATCH] Fix author warning about cmake command order CMake 3.26.0 introduced an author warning when the top-level project() call precedes a cmake_minimum_required() call [1]. [1]: https://cmake.org/cmake/help/latest/release/3.26.html#other-changes --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae86ce9..a7bfe4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ ### You should have received a copy of the GNU General Public License ### along with Laminar. If not, see ### -project(laminar) cmake_minimum_required(VERSION 3.6) +project(laminar) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_CXX_STANDARD 17)