Skip to content

Commit aa021a5

Browse files
authored
cmake: Set cmake_minimum_required policy_max (#519)
To avoid a deprecation warning in CMake 3.31 and above
2 parents 0fef5b9 + 7fd5b28 commit aa021a5

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.5)
7+
cmake_minimum_required(VERSION 3.5...4.0)
88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # custom CMake modules like FindSQLiteCpp
99
project(SQLiteCpp VERSION 3.3.3)
1010

0 commit comments

Comments
 (0)