set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS ON CACHE BOOL "") macro(mymacro) endmacro(notmymacro)