Remove minimum CMake versions from thridparty

New CMake versions warn when support for CMake 3.5 and before is
requested, so since we use a higher CMake minumum, just remove these
version checks in the thridparty code to remove the warnings.
This commit is contained in:
Ian McInerney 2023-09-24 00:21:06 +01:00
parent 563cd522eb
commit a44728bc13
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
cmake_policy(PUSH) cmake_policy(PUSH)
cmake_policy(VERSION 3.1) #cmake_policy(VERSION 3.1)
# Default to honoring the visibility settings for static libraries # Default to honoring the visibility settings for static libraries
cmake_policy(SET CMP0063 NEW) cmake_policy(SET CMP0063 NEW)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0.0) #cmake_minimum_required(VERSION 3.0.0)
project(nanodbc CXX) project(nanodbc CXX)
# Default to honoring the visibility settings for static libraries # Default to honoring the visibility settings for static libraries

View File

@ -5,7 +5,7 @@
# All rights reserved. Use of this source code is governed by a # All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file. # BSD-style license that can be found in the LICENSE file.
cmake_minimum_required(VERSION 3.4) #cmake_minimum_required(VERSION 3.4)
# The `cmake_minimum_required(VERSION 3.4...3.22)` syntax does not work with # The `cmake_minimum_required(VERSION 3.4...3.22)` syntax does not work with
# some versions of VS that have a patched CMake 3.11. This forces us to emulate # some versions of VS that have a patched CMake 3.11. This forces us to emulate