<div dir="ltr">vtkRenderingGL2PSOpenGL2 is an implementation detail that bridges the rendering library and gl2ps without creating a direct dependency on gl2ps. By design, linking to it should not pull in the actual gl2ps library as a dependency.<br><br>I'm not aware of any way to disable this module, AFAIK it seems to be autoenabled it implements a pure abstract interface in vtkRenderingOpenGL2. Someone with more knowledge of the details for the IMPLEMENTS keyword in the module system may know of a trick that I'm not aware of, though.<br><br>HTH,<br>Allie</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 23, 2018 at 3:26 AM, Boris Basic <span dir="ltr"><<a href="mailto:baljci@hotmail.com" target="_blank">baljci@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_1193644110518194944divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">When generating a Visual Studio project using CMake, project which depends on vtkRenderingOpenGL2, the following preprocessor definition is added to the vcxproj:
<span>"vtkRenderingOpenGL2_AUTOINIT=<wbr>1(vtkRenderingGL2PSOpenGL2)</span>". This requires the project to link with
<span>vtkRenderingGL2PSOpenGL2.</span> But as my project does not require GL2PS, I would like to get rid of this forced dependency, but could not find how to remove or change the autoinit definition. Is it possible to do that?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cheers,</p>
<p style="margin-top:0;margin-bottom:0">Boris<br>
</p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>