<div class="gmail_quote">On Fri, Apr 17, 2009 at 5:48 AM, elizabeta petreska <span dir="ltr">&lt;<a href="mailto:elizabeta.petreska@gmail.com">elizabeta.petreska@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello <br>I have the cmakelists.txt witch define two libraries :<br><br><br>//cmakelists.txt<br><br>add_library(A SHARED ${A_SRC})<br><br>message(${CMAKE_MFC_FLAG}) # prints nothing <br><br>set(CMAKE_MFC_FLAG 2)<br><br>message(${CMAKE_MFC_FLAG}) # prints 2<br>

<br>add_library(B SHARED ${B_SRC})<br><br>I was expecting CMAKE_MFC _FLAG to be set just for project B , and not for project A because of the order of processing in the cmakelists.txt,<br>but the mfc falg is set for project A also .<br>

<br>Is this bug or this is normal behavior ?</blockquote><div><br>This sounds like a bug to me.  I would file a bug report in the bugtracker.<br> </div></div>-- <br>Philip Lowman<br>