refactor: move cmake component to where it's used

This commit is contained in:
ToruNiina
2024-03-20 22:35:03 +09:00
parent d4a6fc7953
commit 64cd90637b
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ set(TEST_NAMES
test_extended_conversions
)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL)
CHECK_CXX_COMPILER_FLAG("-Wextra" COMPILER_SUPPORTS_WEXTRA)
CHECK_CXX_COMPILER_FLAG("-Wpedantic" COMPILER_SUPPORTS_WPEDANTIC)