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

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-01-21 02:56:28 master 9d9d2ab6
Changeset

COMP: Update DCMTK 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 02:39:50 2015 -0500

Simplify if() conditions on check result variables

Remove use of an old hack that takes advantage of the auto-dereference
behavior of the if() command to detect if a variable is defined.  The
hack has the form:

 if(&quot;${VAR} MATCHES &quot;^${VAR}$&quot;)

where &quot;${VAR}&quot; is a macro argument reference.  Use if(DEFINED) instead.
This also avoids warnings for CMake Policy CMP0054.

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

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

mod - SuperBuild/External_DCMTK.cmake Diff File