[CMake] CMAKE_MFC_FLAG is inherited in subdirectory ?

elizabeta petreska elizabeta.petreska at gmail.com
Thu Feb 5 02:58:25 EST 2009


Hello
I have one cmakelists in which I do the following :
set(CMAKE_MFC_FLAG 2)

In the same cmakelists I am using add_subdirectory to add another project ,
and this makes my added directory with sub_directory to have
set CMAKE_MFC_FLAG too ,which is not the behaviour I want .
How to avoid this ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090205/5b154224/attachment.htm>


More information about the CMake mailing list