From 3bd3b7298acb3550164362be682d009a5eba42c9 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 30 Jun 2020 17:57:12 -0400 Subject: [PATCH] Fix compiler test for clang Change-Id: I06e01d3422ec4aa8d0fb8f5d9a44e2a840531a87 [ROCm/clr commit: a4302150671a0fc6fc6c8773088e689be00608d0] --- projects/clr/rocclr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/CMakeLists.txt b/projects/clr/rocclr/CMakeLists.txt index 3a6208399e..cb8590ea39 100644 --- a/projects/clr/rocclr/CMakeLists.txt +++ b/projects/clr/rocclr/CMakeLists.txt @@ -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.