未验证 提交 0e767f0e 编写于 作者: Z ZhiShen 提交者: GitHub

Change cmake version (#8666)

Change cmake version from 3.16 to 3.18

1. Change the CMakeList's minimum require version.

2. Change the describtion document of cmake version.

Resolves: milvus-io#8407
Signed-off-by: NShen Zhi <m13120163046@163.com>
上级 bb121c59
......@@ -79,7 +79,7 @@ Check the requirements first.
```bash
go: 1.15
cmake: >=3.16
cmake: >=3.18
gcc: 7.5
```
......
......@@ -11,7 +11,7 @@
# or implied. See the License for the specific language governing permissions and limitations under the License.
#-------------------------------------------------------------------------------
cmake_minimum_required( VERSION 3.14 )
cmake_minimum_required( VERSION 3.18 )
add_definitions(-DELPP_THREAD_SAFE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
......
......@@ -11,7 +11,7 @@
# or implied. See the License for the specific language governing permissions and limitations under the License.
#-------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.18)
message(STATUS "------------------------------KNOWHERE-----------------------------------")
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
......
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
cmake_minimum_required( VERSION 3.18 )
project(wrapper)
set(CMAKE_CXX_STANDARD 17)
......
......@@ -9,7 +9,7 @@
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under the License.
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
cmake_minimum_required( VERSION 3.18 )
project(wrapper)
set(CMAKE_CXX_STANDARD 17)
......
......@@ -9,7 +9,7 @@
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under the License.
cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR)
cmake_minimum_required( VERSION 3.18 )
project(dablooms)
set(CMAKE_CXX_STANDARD 17)
......
......@@ -5,7 +5,7 @@
```
OS: Ubuntu 18.04
go:1.15
cmake: >=3.16
cmake: >=3.18
gcc: 7.5
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册