[PATCH] D81265: [CMake] Do not append -lm to CMAKE_REQUIRED_LIBRARIES on Apple
Louis Dionne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 10:04:41 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf57dd4156234: [CMake] Do not append -lm to CMAKE_REQUIRED_LIBRARIES on Apple (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81265/new/
https://reviews.llvm.org/D81265
Files:
llvm/cmake/config-ix.cmake
Index: llvm/cmake/config-ix.cmake
===================================================================
--- llvm/cmake/config-ix.cmake
+++ 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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81265.268862.patch
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/af9e94cf/attachment.bin>
More information about the llvm-commits
mailing list