[NFC] cmake: do not suppress -Wsign-compare globally (#1810)

Only disable `-Wsign-compare` for tests that do not compile cleanly
with this warning enabled.  Re-enable the warning for the other tests,
so that it can catch any new occurrences.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2023-09-20 15:48:25 +01:00
committed by GitHub
parent 1c616238bc
commit aa953aaa51
11 changed files with 17 additions and 8 deletions

View File

@@ -17,6 +17,8 @@ set(${MODULE_NAME}_SOURCES
command_buffer_finalize.cpp
)
set_gnulike_module_compile_flags("-Wno-sign-compare")
include(../../CMakeCommon.txt)
add_subdirectory( cl_khr_command_buffer_mutable_dispatch )

View File

@@ -12,4 +12,6 @@ set(${MODULE_NAME}_SOURCES
../basic_command_buffer.cpp
)
set_gnulike_module_compile_flags("-Wno-sign-compare")
include(../../../CMakeCommon.txt)