Import 2017-06-07 23:51:09: master f654d8f8

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-01-21 03:12:35 master b0803b43
Changeset

COMP: Update CTK to fix CMP0054 warning

This commit fixes warnings occurring when using CMake >= 3.1.0

//------------
Author: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Date: Wed Jan 21 03:09:53 2015 -0500

Set CMake policy CMP0054 to shut-up associated warning

This commit will avoid the following warning:

CMake Warning (dev) at /path/to/cmake-3.1/Modules/ExternalProject.cmake:919 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run &quot;cmake --help-policy CMP0054&quot; for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like &quot;PYTHONQT_INSTALL_DIR&quot; will no longer be dereferenced
  when the policy is set to NEW.  Since the policy is not set the OLD
  behavior will be used.
Call Stack (most recent call first):
  /path/to/cmake-3.1/Modules/ExternalProject.cmake:1764 (_ep_write_initial_cache)
  /path/to/cmake-3.1/Modules/ExternalProject.cmake:1997 (_ep_add_configure_command)
  SuperBuild.cmake:37 (ExternalProject_Add)
  CMakeLists.txt:977 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

//------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23898 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild/External_CTK.cmake Diff File