]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED the first directive as
authorIvan Zhakov <ivan@apache.org>
Tue, 29 Nov 2022 14:47:15 +0000 (14:47 +0000)
committerIvan Zhakov <ivan@apache.org>
Tue, 29 Nov 2022 14:47:15 +0000 (14:47 +0000)
  required by CMake documentation [1]

[1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1905611 13f79535-47bb-0310-9956-ffa450edef68

CMakeLists.txt

index 2a16c71d1bb96f352b6db546b30e0b9d900e11f9..e77a70c6e01f0d268c326725cc1ade5cae7def17 100644 (file)
 #
 # Read README.cmake before using this.
 
-PROJECT(HTTPD C)
-
+# CMAKE_MINIMUM_REQUIRED should be the first directive in the file:
+# https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 
+PROJECT(HTTPD C)
+
 INCLUDE(CheckSymbolExists)
 INCLUDE(CheckCSourceCompiles)