You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2023/01/17 19:29:07 UTC
svn commit: r1906752 - in /apr/apr/branches/1.7.x: ./ CMakeLists.txt
Author: ivan
Date: Tue Jan 17 19:29:07 2023
New Revision: 1906752
URL: http://svn.apache.org/viewvc?rev=1906752&view=rev
Log:
Merge r1906751 from 1.8.x:
CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED first directive as recommended
by CMake documentation [1].
[1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
Modified:
apr/apr/branches/1.7.x/ (props changed)
apr/apr/branches/1.7.x/CMakeLists.txt
Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
Merged /apr/apr/branches/1.8.x:r1906751
Merged /apr/apr/trunk:r1905493
Modified: apr/apr/branches/1.7.x/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/CMakeLists.txt?rev=1906752&r1=1906751&r2=1906752&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/CMakeLists.txt (original)
+++ apr/apr/branches/1.7.x/CMakeLists.txt Tue Jan 17 19:29:07 2023
@@ -15,10 +15,12 @@
#
# Read README.cmake before using this.
-PROJECT(APR 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(APR C)
+
OPTION(APR_INSTALL_PRIVATE_H "Install selected private .h files (for httpd)" OFF)
OPTION(APR_HAVE_IPV6 "IPv6 support" ON)
OPTION(INSTALL_PDB "Install .pdb files (if generated)" ON)