[education/rkward] /: Call cmake_minimum_required() before project()
Heiko Becker
null at kde.org
Sun Mar 12 23:05:04 GMT 2023
Git commit dfb2d84037522300d031754c572c131b0b5eddac by Heiko Becker.
Committed on 12/03/2023 at 15:31.
Pushed by aacid into branch 'master'.
Call cmake_minimum_required() before project()
Fixes a cmake warning with cmake 3.26.x.
M +2 -2 CMakeLists.txt
https://invent.kde.org/education/rkward/commit/dfb2d84037522300d031754c572c131b0b5eddac
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bdb87c82..91514252 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
-PROJECT(rkward)
-
CMAKE_MINIMUM_REQUIRED(VERSION 3.10.0)
+PROJECT(rkward)
+
IF(NOT CMAKE_VERBOSE_MAKEFILE)
SET (FORCE_PRETTY_MAKEFILE ON)
ENDIF(NOT CMAKE_VERBOSE_MAKEFILE)
More information about the rkward-tracker
mailing list