Skip to content

Commit

Permalink
COMP: Fix warning removing explicit setting of CMake policy CMP0017.
Browse files Browse the repository at this point in the history
Setting of CMP0017 to OLD is not needed.

This commit addresses the following warning reported when using CMake 3.9.0:



See Slicer/Slicer#765
  • Loading branch information
jcfr committed Aug 4, 2017
1 parent 9e98129 commit 08758d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ cmake_minimum_required(VERSION 2.8)
if(POLICY CMP0016)
CMAKE_POLICY(SET CMP0016 NEW)
endif()
if(POLICY CMP0017)
CMAKE_POLICY(SET CMP0017 OLD)
endif()
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW) # CMake 3.0.0
endif()
Expand Down

0 comments on commit 08758d7

Please sign in to comment.