mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
committed by
Kévin Petit
parent
6d8a633bf0
commit
688a1bb3d7
@@ -32,6 +32,11 @@ else()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CTS_EXTRA_FLAGS}")
|
||||
endif()
|
||||
|
||||
# Clang gives C++11 narrowing warnings so suppress these for now
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing")
|
||||
endif()
|
||||
|
||||
include_directories(BEFORE SYSTEM ${CLConform_HEADERS})
|
||||
link_directories(${CLConform_LIB_DIR})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user