diff options
author | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-17 19:29:07 +0000 |
---|---|---|
committer | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-17 19:29:07 +0000 |
commit | d02242ee807580e2e0bc52470a9d26aa7d40787b (patch) | |
tree | 3791dcdf05691fa21deba678123ba8f95fd98059 | |
parent | e3adfbf197fd787dffa18925a20fac6c59bf750b (diff) | |
download | libapr-d02242ee807580e2e0bc52470a9d26aa7d40787b.tar.gz |
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
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1906752 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e63cd00e..2b9c5d844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |