Skip to content

Commit e5a486a

Browse files
Sigmanificientabsurdfarce
authored andcommitted
Bump minimum required version for cmake4 compatibility
patch by Sigmanificient; reviewed by Bret McGuire and Yifan Cai reference: #580
1 parent 85ddfa9 commit e5a486a

File tree

40 files changed

+44
-44
lines changed

40 files changed

+44
-44
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.10)
22
project(cassandra C CXX)
33

44
set(CASS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})

appveyor.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Function Install-Driver-Environment {
331331
Push-Location -Path "$($dependencies_build_location_prefix)/libuv"
332332

333333
$cmakelists_contents = @"
334-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
334+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
335335
project(libuv)
336336
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for libuv")
337337
set(PROJECT_MODULE_DIR $cmake_modules_dir)
@@ -380,7 +380,7 @@ add_dependencies(`${PROJECT_NAME} `${LIBUV_LIBRARY_NAME})
380380
Push-Location -Path "$($dependencies_build_location_prefix)/openssl/$_"
381381

382382
$cmakelists_contents = @"
383-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
383+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
384384
project(OpenSSL)
385385
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for OpenSSL")
386386
set(PROJECT_MODULE_DIR $cmake_modules_dir)
@@ -432,7 +432,7 @@ add_dependencies(`${PROJECT_NAME} `${OPENSSL_LIBRARY_NAME})
432432
Push-Location -Path "$($dependencies_build_location_prefix)/zlib"
433433

434434
$cmakelists_contents = @"
435-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
435+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
436436
project(zlib)
437437
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for zlib")
438438
set(PROJECT_MODULE_DIR $cmake_modules_dir)
@@ -508,7 +508,7 @@ add_dependencies(`${PROJECT_NAME} `${ZLIB_LIBRARY_NAME})
508508
Push-Location -Path "$($dependencies_build_location_prefix)/libssh2"
509509

510510
$cmakelists_contents = @"
511-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
511+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
512512
project(libssh2)
513513
set(PROJECT_DISPLAY_NAME "AppVeyor CI Build for libssh2")
514514
set(PROJECT_MODULE_DIR $cmake_modules_dir)

cmake/ClangFormat.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Format and verify formatting using clang-format
33
#
4-
cmake_minimum_required(VERSION 2.8.12)
4+
cmake_minimum_required(VERSION 3.10)
55

66
include(FindPackageHandleStandardArgs)
77

cmake/ExternalProject-OpenSSL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
14+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
1515
include(ExternalProject)
1616
include(Windows-Environment)
1717
if(NOT MSVC_ENVIRONMENT_SCRIPT)

cmake/ExternalProject-libssh2.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
14+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
1515
include(ExternalProject)
1616
include(Windows-Environment)
1717

cmake/ExternalProject-libuv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
14+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
1515
include(ExternalProject)
1616
include(Windows-Environment)
1717

cmake/ExternalProject-zlib.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
14+
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
1515
include(ExternalProject)
1616
include(Windows-Environment)
1717

examples/async/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.10)
22

33
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ".")
44
set(PROJECT_EXAMPLE_NAME async)

examples/auth/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.10)
22

33
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ".")
44
set(PROJECT_EXAMPLE_NAME auth)

examples/basic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.10)
22

33
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ".")
44
set(PROJECT_EXAMPLE_NAME basic)

0 commit comments

Comments
 (0)