Check whether -Wno-unused-but-set-variable is supported before using
authorDmitry Marakasov <amdmi3@amdmi3.ru>
Mon, 1 Aug 2011 18:17:32 +0000 (22:17 +0400)
committerDmitry Marakasov <amdmi3@amdmi3.ru>
Mon, 1 Aug 2011 18:17:32 +0000 (22:17 +0400)
commit318a730c459a8524d7030d261946c35815dd4b29
treeb423ef7463f889998e892a81b12336aca2bdcd91
parent9017c51e7fee6b1da3d0309a7a8d151ae96646ec
Check whether -Wno-unused-but-set-variable is supported before using
it. It seems to only be available on recent (>=4.6) versions of gcc.
src/CMakeLists.txt