Skip to content

Commit 9976cdf

Browse files
committed
Update cmake_minimum_required() to VERSION 3.5
Fix CMake 3.27 deprecation warning: Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.
1 parent d8ac3b2 commit 9976cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
66
# or copy at http://opensource.org/licenses/MIT)
7-
cmake_minimum_required(VERSION 3.1) # for "CMAKE_CXX_STANDARD" version
7+
cmake_minimum_required(VERSION 3.5)
88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # custom CMake modules like FindSQLiteCpp
99
project(SQLiteCpp VERSION 3.3.0)
1010

0 commit comments

Comments
 (0)