On Sat, Oct 03, 2009 at 02:48:00AM +0800, michael kapelko wrote: > add_definitions(-Uflag) does not help. how to #undef then? http://www.cmake.org/cmake/help/cmake2.6docs.html#command:remove_definitions tyler