I suppose this is a CMake question, but it pertains to VTK, so I apologize if it is not the right place to ask this. <br><br>Is there any way to probe an existing VTK 6  installation for the AUTOINIT string that is used during compilation. For instance on my local machine, these define statements are necessary<br>
<br>-DvtkRenderingCore_AUTOINIT=&quot;3(vtkInteractionStyle,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)&quot; -DvtkRenderingVolume_AUTOINIT=&quot;1(vtkRenderingVolumeOpenGL)&quot; <br>
<br>But hard coding these values will clearly not be portable. If anyone has found a solution to this I&#39;d appreciate any ideas. For what it&#39;s worth, I&#39;m using SCons instead of CMake to build a library which can use an existing VTK installation. So it is possible to parse through files, but not simply grab CMake variables (that I know of at least).<br>
<br>Thanks for any ideas.<br><br clear="all">-- Trevor<br>
<br><br><br>