<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" 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=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>
</body>
</html>