From b5680fc14a577dd6dd57bd3d8568f0b05871b1c8 Mon Sep 17 00:00:00 2001 From: Matt Coffin Date: Sat, 9 Nov 2019 11:01:58 -0700 Subject: [PATCH] build: Fix clang linking --- icd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icd/CMakeLists.txt b/icd/CMakeLists.txt index a60a9db..06b21f7 100644 --- a/icd/CMakeLists.txt +++ b/icd/CMakeLists.txt @@ -381,7 +381,7 @@ if (UNIX) target_link_libraries(xgl PRIVATE c stdc++ ${CMAKE_DL_LIBS} pthread) - if(NOT ICD_USE_GCC) + if((NOT ICD_USE_GCC) AND (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")) message(WARNING "Intel ICC untested in CMake.") target_link_libraries(xgl PRIVATE -fabi-version=0 -static-intel) endif() -- 2.23.0