mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
cmake: remove global -Wno-format (#2195)
Move the global `-Wno-format` compiler option to the individual tests that still trigger Wformat warnings. The majority of the tests now compile cleanly with `-Wformat` enabled. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
baed156699
commit
2ea4d165d5
@@ -71,6 +71,6 @@ if(APPLE)
|
||||
list(APPEND ${MODULE_NAME}_SOURCES test_queue_priority.cpp)
|
||||
endif(APPLE)
|
||||
|
||||
set_gnulike_module_compile_flags("-Wno-sign-compare")
|
||||
set_gnulike_module_compile_flags("-Wno-sign-compare -Wno-format")
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
Reference in New Issue
Block a user