FMT_EXTRA_TESTS -> FMT_PEDANTIC and use it to control extra warnings

This commit is contained in:
vitaut
2015-05-12 07:35:29 -07:00
parent 5517c8962e
commit a5757c86df
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ endif ()
if (CMAKE_COMPILER_IS_GNUCXX)
target_compile_options(${BII_BLOCK_TARGET} INTERFACE -Wall -Wextra -Wshadow -pedantic)
endif ()
if (CPP11_FLAG AND FMT_EXTRA_TESTS)
if (CPP11_FLAG AND FMT_PEDANTIC)
target_compile_options(${BII_BLOCK_TARGET} INTERFACE ${CPP11_FLAG})
endif ()