Hi Bala, <br><br>Could you provide more details regarding the error you obtained ? <br><br>Within your CMakeLists.txt, may be you could add the following 'message' statements:<br><br>message(<font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">WITH_MUMPS</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">:${</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">WITH_MUMPS</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2"></font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">}</font></font>)<br>
message(<font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">c_source_files:${</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">c_source_files</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">}</font></font>)<br>
message(<font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">mumps_srcs</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">:${</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">mumps_srcs</font></font><font face="Calibri, sans-serif" size="2"><font face="Courier New, monospace" size="2">}</font></font>)<br>
<br>Hth<br>Jc<br><br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 5:23 AM, AMARNATH, Balachandar <span dir="ltr"><<a href="mailto:BALACHANDAR.AMARNATH@airbus.com">BALACHANDAR.AMARNATH@airbus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<font face="Calibri, sans-serif" size="2">
<div>Hi</div>
<div> </div>
<div> I have a following piece of cmake commands in my CMakeLists.txt file which is not working with windows but working fine in debian.</div>
<div> </div>
<div><font face="Courier New, monospace" size="2">IF (NOT WITH_MUMPS) </font></div>
<div><font face="Courier New, monospace" size="2"> LIST(REMOVE_ITEM c_source_files ${mumps_srcs}) </font></div>
<div><font face="Courier New, monospace" size="2">ENDIF(NOT WITH_MUMPS)</font></div>
<div> </div>
<div><font face="Courier New, monospace" size="2">Any clue in this ? </font></div>
<div><font face="Courier New, monospace" size="2"> </font></div>
<div><font face="Courier New, monospace" size="2"> </font></div>
<div><font face="Courier New, monospace" size="2">Regards</font></div>
<div><font face="Courier New, monospace" size="2">Bala</font></div>
<div> </div>
</font>
<pre>The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
</pre></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>