mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Enable -Wnarrowing for conversions test suite (#2466)
No code changes required. Fixes #1157 Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
set(MODULE_NAME CONVERSIONS)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang")
|
||||
add_cxx_flag_if_supported(-Wno-narrowing)
|
||||
endif()
|
||||
|
||||
set (${MODULE_NAME}_SOURCES
|
||||
Sleep.cpp test_conversions.cpp basic_test_conversions.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user