Fix compiler test for clang

Change-Id: I06e01d3422ec4aa8d0fb8f5d9a44e2a840531a87


[ROCm/clr commit: a430215067]
Tento commit je obsažen v:
Matt Arsenault
2020-06-30 17:57:12 -04:00
odevzdal Matthew Arsenault
rodič 2bc83df463
revize 3bd3b7298a
+1 -1
Zobrazit soubor
@@ -77,7 +77,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
(CMAKE_${COMPILER}_COMPILER_ID MATCHES "Clang"))
(CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
add_definitions(
# Enabling -Wextra or -pedantic will cause
# thousands of warnings. Keep things simple for now.