You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/07/24 15:45:17 UTC
[orc] branch main updated: ORC-861: Bump CMake minimum requirement
to 2.8.12 (#763)
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 837f264 ORC-861: Bump CMake minimum requirement to 2.8.12 (#763)
837f264 is described below
commit 837f26485b69774ad2f580c5feb5e612a4fd6251
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sat Jul 24 08:45:08 2021 -0700
ORC-861: Bump CMake minimum requirement to 2.8.12 (#763)
### What changes were proposed in this pull request?
This PR aims to bump CMake minimum requirement from 2.6 to 2.8.12.
### Why are the changes needed?
As of today, we are currently using CMake 3.21.0 and hitting this warning because our minimum requirement is 2.6.
```
$ cmake --version
cmake version 3.21.0
$ cmake ..
CMake Deprecation Warning at CMakeLists.txt:13 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
```
### How was this patch tested?
Pass the CIs
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8349045..e75b827 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 2.8.12)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif ()