Skip to content

Commit

Permalink
COMP: Update CMake version to 3.5.0
Browse files Browse the repository at this point in the history
This commit removes explicit setting of CMake policies.

Note that the setting of CMP0017 to OLD is not needed.

See Slicer/Slicer#765
  • Loading branch information
jcfr committed Aug 4, 2017
1 parent a1b5808 commit cd244f4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@

cmake_minimum_required(VERSION 2.8.4)

#-----------------------------------------------------------------------------
# See http:https://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details
#-----------------------------------------------------------------------------
if(POLICY CMP0017)
cmake_policy(SET CMP0017 OLD)
endif()
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW) # CMake 3.0.0
endif()
cmake_minimum_required(VERSION 3.5.0)

#-----------------------------------------------------------------------------
set(MODULE_NAME MultiVolumeExplorer)
Expand Down

0 comments on commit cd244f4

Please sign in to comment.