Files
OpenCL-CTS/test_conformance/mem_host_flags/CMakeLists.txt
Sven van Haastregt 1884042f5d [NFC] cmake: do not suppress -Wunused-but-set-variable globally (#1723)
Only disable `-Wunused-but-set-variable` for tests that do not compile
cleanly with this warning enabled.  This re-enables the warning for
most other tests, so that it can catch any new occurrences.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2023-05-16 09:58:04 +01:00

12 lines
217 B
CMake

set(MODULE_NAME MEM_HOST_FLAGS)
set(${MODULE_NAME}_SOURCES
main.cpp
mem_host_buffer.cpp
mem_host_image.cpp
)
set_gnulike_module_compile_flags("-Wno-unused-but-set-variable")
include(../CMakeCommon.txt)