diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -41,7 +41,7 @@ endif () if (COMPILER_RT_USE_BUILTINS_LIBRARY) # TODO: remote this check once we address PR51389. - if (${COMPILER_RT_BUILTINS_LIBRARY}) + if (COMPILER_RT_BUILTINS_LIBRARY) list(APPEND CMAKE_REQUIRED_LIBRARIES "${COMPILER_RT_BUILTINS_LIBRARY}") endif() elseif (COMPILER_RT_HAS_GCC_S_LIB)