MantisBT - IGSTK
View Issue Details
0008055IGSTKIGSTKpublic2008-11-07 08:482009-02-17 17:20
Andinet 
Andinet 
normalminorhave not tried
assignedopen 
0008055: Bug in ITK version check logic
The logic that checks the version of ITK has a bug.....

IF( ${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR} LESS 3.4)

ITK version numbering could go up to 3.11...

The major and minor version numbers should be separately checked...

IF( ${ITK_VERSION_MAJOR} LESS 3)

IF( ${ITK_VERSION_MINOR} LESS 4)
No tags attached.
Issue History
2008-11-07 08:48AndinetNew Issue
2008-11-07 08:48AndinetStatusnew => assigned
2008-11-07 08:48AndinetAssigned To => Patrick Cheng
2008-11-07 08:48AndinetAssigned ToPatrick Cheng => Andinet
2009-02-17 17:20domibelNote Added: 0015088

Notes
(0015088)
domibel   
2009-02-17 17:20   
cmake 2.6

  if(version1 VERSION_LESS version2)
  if(version1 VERSION_EQUAL version2)
  if(version1 VERSION_GREATER version2)

Component-wise integer version number comparison (version format is major[.minor[.patch[.tweak]]]).