Skip to content

Commit b489d85

Browse files
committed
CMake 3.11 required
1 parent 598dcac commit b489d85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
# For conditions of distribution and use, see the disclaimer
2020
# and license in png.h
2121

22-
cmake_minimum_required(VERSION 3.1)
22+
# ALIAS for imported target (see 'cmake/Config.cmake.in'):
23+
# - https://cmake.org/cmake/help/latest/release/3.11.html#other
24+
cmake_minimum_required(VERSION 3.11)
2325
cmake_policy(VERSION 3.1)
2426
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
2527

0 commit comments

Comments
 (0)