Skip to content

Conversation

@jcfr
Copy link
Contributor

@jcfr jcfr commented Jan 23, 2015

...g

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("${VAR} MATCHES "^${VAR}$")

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

…ning

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("${VAR} MATCHES "^${VAR}$")

where "${VAR}" is a macro argument reference.  Use if(NOT DEFINED) instead.
This also avoids warnings for CMake Policy CMP0054.
lassoan pushed a commit to lassoan/OpenIGTLink that referenced this pull request May 3, 2017
EHN: This merge fix the ISSUE openigtlink#62 , also fix a potential bug in vtkIGTLToMRMLImage.
@leochan2009 leochan2009 force-pushed the master branch 5 times, most recently from fd79c15 to 3ec54f7 Compare July 19, 2017 15:34
@leochan2009 leochan2009 force-pushed the master branch 5 times, most recently from 4162c0a to 244276a Compare December 22, 2017 13:59
@leochan2009 leochan2009 force-pushed the master branch 2 times, most recently from d2e96e3 to e04f1f1 Compare January 5, 2018 21:31
@leochan2009 leochan2009 force-pushed the master branch 2 times, most recently from 0e91008 to 269c68b Compare February 1, 2018 16:06
@leochan2009 leochan2009 force-pushed the master branch 2 times, most recently from 5cacbce to 8ac5ca2 Compare July 13, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant