Skip to content

Commit

Permalink
CMake: Bump supported CMake policy version
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Apr 8, 2017
1 parent be7e825 commit 939a950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -13,8 +13,8 @@ else()
cmake_minimum_required(VERSION 2.8.3)
endif()

if(CMAKE_VERSION VERSION_GREATER 3.4)
cmake_policy(VERSION 3.4)
if(CMAKE_VERSION VERSION_GREATER 3.7)
cmake_policy(VERSION 3.7)
else()
cmake_policy(VERSION ${CMAKE_VERSION})
endif()
Expand Down

0 comments on commit 939a950

Please sign in to comment.