Fix compiler test for clang

Change-Id: I06e01d3422ec4aa8d0fb8f5d9a44e2a840531a87


[ROCm/clr commit: a430215067]
This commit is contained in:
Matt Arsenault
2020-06-30 17:57:12 -04:00
zatwierdzone przez Matthew Arsenault
rodzic 2bc83df463
commit 3bd3b7298a
+1 -1
Wyświetl plik
@@ -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.