<div dir="ltr"><div><div><div>Hi there,<br>I am having some issues concerning the GDCM version ITK is using for some nightly builds we have.<br></div><br>The
thing is that some of the examples we have need GDCM 2.x. For local
compilation purposes, we are using ITK 4.x, or either we have set the
ITK CMake to an external GDCM 2.x with the ITK_USE_SYSTEM_GDCM flag.<br>
<br></div>However, we are using ITK 3.x for some of the automatic compilations. And we would like to keep the default GDCM versions.<br><br></div>Thus, the examples that need GDCM 2.x fail to compile in our nightly bulds.<br>
<div>
<br>I guess setting a #if GDCM_MAJOR_VERSION >= 2 #endif guard in all files of these examples is not a smart solution.<br>
<br>
The solution would be to explicit in the examples' CMakeLists to compile
the examples' only if GDCM_MAJOR_VERSION >= 2. However, AFAIK ITK does not
propagate the GDCM version, and thus, we have no way to know which GDCM version is using ITK in some project using ITK.        <br></div><div><br>Am I missing something or is there any workaround?<br></div><div><br></div><div>Thanks,<br>
JON HAITZ</div>
<table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><br></td></tr></tbody></table></td></tr></tbody></table><br>
</div>