[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-cvs
Subject: svn commit: r1905611 - /httpd/httpd/trunk/CMakeLists.txt
From: ivan () apache ! org
Date: 2022-11-29 14:47:15
Message-ID: 20221129144715.7626417AC39 () svn01-us-east ! apache ! org
[Download RAW message or body]
Author: ivan
Date: Tue Nov 29 14:47:15 2022
New Revision: 1905611
URL: http://svn.apache.org/viewvc?rev=1905611&view=rev
Log:
* CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED the first directive as
required by CMake documentation [1]
[1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
Modified:
httpd/httpd/trunk/CMakeLists.txt
Modified: httpd/httpd/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CMakeLists.txt?rev=1905611&r1=1905610&r2=1905611&view=diff
==============================================================================
--- httpd/httpd/trunk/CMakeLists.txt (original)
+++ httpd/httpd/trunk/CMakeLists.txt Tue Nov 29 14:47:15 2022
@@ -15,10 +15,12 @@
#
# 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic