File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1919# For conditions of distribution and use, see the disclaimer
2020# and license in png.h
2121
22- cmake_minimum_required (VERSION 3.1 )
23- cmake_policy (VERSION 3.1 )
22+ cmake_minimum_required (VERSION 3.11 )
23+ cmake_policy (VERSION 3.11 )
2424set (CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true )
2525
2626include ("cmake/HunterGate.cmake" )
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ find_dependency(ZLIB CONFIG)
44
55include ("${CMAKE_CURRENT_LIST_DIR} /@targets_export_name@.cmake" )
66
7- # ALIAS for imported target requires CMake >= 3.11:
8- # - https://cmake.org/cmake/help/latest/release/3.11.html#other
9- if (NOT CMAKE_VERSION VERSION_LESS 3.11 AND NOT TARGET PNG::PNG)
7+ if (NOT TARGET PNG::PNG)
108 set_target_properties (
119 PNG::png
1210 PROPERTIES
You can’t perform that action at this time.
0 commit comments