> 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
Unset CMAKE_MFC_FLAG in the CMakeLists.txt of your Subdirectory SET(CMAKE_MFC_FLAG) > > > > > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
