<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <div>
   <pre class="console-output">Manually-specified variables were not used by the project<br>MY_VAR<br><br>when I call <br><br>cmake -DMY_VAR= ...<br><br><br>The goal is<br>if(NOT DEFINED MY_VAR)<br>...<br>else()<br>...<br>if()<br><br>in order to tell cmake over the command line what to do.<br><br>How to achieve this ?<br></pre>
  </div> 
 </body>
</html>