mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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>
13 lines
225 B
CMake
13 lines
225 B
CMake
set(MODULE_NAME C11_ATOMICS)
|
|
|
|
set(${MODULE_NAME}_SOURCES
|
|
common.cpp
|
|
host_atomics.cpp
|
|
main.cpp
|
|
test_atomics.cpp
|
|
)
|
|
|
|
set_gnulike_module_compile_flags("-Wno-sign-compare -Wno-format")
|
|
|
|
include(../CMakeCommon.txt)
|