Re: [CMake] CMAKE_MFC_FLAG is inherited in subdirectory ?

2009-02-05 Thread Micha Renner
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

[CMake] CMAKE_MFC_FLAG is inherited in subdirectory ?

2009-02-04 Thread elizabeta petreska
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 ?