diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -13,7 +13,7 @@ include(CheckCompilerVersion) include(HandleLLVMStdlib) -if( UNIX AND NOT (BEOS OR HAIKU) ) +if( UNIX AND NOT (APPLE OR BEOS OR HAIKU) ) # Used by check_symbol_exists: list(APPEND CMAKE_REQUIRED_LIBRARIES "m") endif()