diff --git a/README.md b/README.md index 9243f2b35e00613bac4bdbaca06dd2e6e8ab1a8d..3ef59c5ece968976935cc3a673683731c61e3216 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Check the requirements first. ```bash go: 1.15 -cmake: >=3.16 +cmake: >=3.18 gcc: 7.5 ``` diff --git a/internal/core/CMakeLists.txt b/internal/core/CMakeLists.txt index c84ae20fda04980e6d5dd9e059987aad5a223bef..16f61438821631823b606a4896c7b0357cc89fae 100644 --- a/internal/core/CMakeLists.txt +++ b/internal/core/CMakeLists.txt @@ -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) diff --git a/internal/core/src/index/CMakeLists.txt b/internal/core/src/index/CMakeLists.txt index 2f3d4e166390f3a0b764136127802db6135f0d60..54a08eaf2dadf8d15eb30e9dfff792f81381a0a1 100644 --- a/internal/core/src/index/CMakeLists.txt +++ b/internal/core/src/index/CMakeLists.txt @@ -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}") diff --git a/internal/kv/rocksdb/cwrapper/CMakeLists.txt b/internal/kv/rocksdb/cwrapper/CMakeLists.txt index afaac8100adac56c54944b5799063e482eed5184..a3c1f8ce0b09361d860dba37390a45124f301e3a 100644 --- a/internal/kv/rocksdb/cwrapper/CMakeLists.txt +++ b/internal/kv/rocksdb/cwrapper/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14...3.17 FATAL_ERROR) +cmake_minimum_required( VERSION 3.18 ) project(wrapper) set(CMAKE_CXX_STANDARD 17) diff --git a/internal/storage/cwrapper/CMakeLists.txt b/internal/storage/cwrapper/CMakeLists.txt index c49896dda492beefe952dc42f2c33e309c9d8786..787b83f2c16d0b19b42703913f1d1caaeace8200 100644 --- a/internal/storage/cwrapper/CMakeLists.txt +++ b/internal/storage/cwrapper/CMakeLists.txt @@ -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) diff --git a/internal/util/dablooms/cwrapper/CMakeLists.txt b/internal/util/dablooms/cwrapper/CMakeLists.txt index f9daa06f77c735f7d0c7ea384136d19bbca69d06..1dff0cd5f76ee7513efd735420dddf651d482f27 100644 --- a/internal/util/dablooms/cwrapper/CMakeLists.txt +++ b/internal/util/dablooms/cwrapper/CMakeLists.txt @@ -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) diff --git a/scripts/README.md b/scripts/README.md index e62c862dc8ed95bf47e71ddda011a70f718eda93..8f9b9eaccd65058d518e4f2d8ecc79613a8ac273 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -5,7 +5,7 @@ ``` OS: Ubuntu 18.04 go:1.15 - cmake: >=3.16 + cmake: >=3.18 gcc: 7.5 ```