Fix compiler test for clang
Change-Id: I06e01d3422ec4aa8d0fb8f5d9a44e2a840531a87
[ROCm/clr commit: a430215067]
This commit is contained in:
zatwierdzone przez
Matthew Arsenault
rodzic
2bc83df463
commit
3bd3b7298a
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user