Skip to content

Commit

Permalink
CMake 3.11 required
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jun 19, 2019
1 parent 598dcac commit b489d85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
# For conditions of distribution and use, see the disclaimer
# and license in png.h

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

Expand Down

0 comments on commit b489d85

Please sign in to comment.