From d0d7485a6c69fecb71abe5af9affec81281f81f1 Mon Sep 17 00:00:00 2001 From: Xiao-Wei Chai CAO Date: Tue, 14 Jul 2020 16:34:46 +0800 Subject: [PATCH] fix(mge/build): update cmake_minimum_required VERSION Fixed according to the case mentioned in Issue #57 opened by @zjd1988 . ``` Policy "CMP0086" is not known to this version of CMake. Starting with CMake 3.14, UseSWIG passes option -module to SWIG compiler if the file property SWIG_MODULE_NAME is specified. This policy provides compatibility with projects that expect the legacy behavior. ``` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81b85956a..ff9fb5f23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.13.0) +cmake_minimum_required(VERSION 3.14.4) include (cmake/FetchMegBrainVersion.cmake) project(MegEngine LANGUAGES C CXX VERSION ${MGB_VER_STRING}) -- GitLab