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 2022/11/23 14:15:06 UTC
svn commit: r1905493 - /apr/apr/trunk/CMakeLists.txt
Author: ivan
Date: Wed Nov 23 14:15:06 2022
New Revision: 1905493
URL: http://svn.apache.org/viewvc?rev=1905493&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:
apr/apr/trunk/CMakeLists.txt
Modified: apr/apr/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CMakeLists.txt?rev=1905493&r1=1905492&r2=1905493&view=diff
==============================================================================
--- apr/apr/trunk/CMakeLists.txt (original)
+++ apr/apr/trunk/CMakeLists.txt Wed Nov 23 14:15:06 2022
@@ -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 3.0)
+PROJECT(APR C)
+
# Enable support for MSVC runtime library selection by abstraction
# if supported by CMake.
IF(POLICY CMP0091)