summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-11-03 10:38:26 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-11-03 10:38:26 +0000
commit094d061659990525485b4399d106c4b833d3c9b7 (patch)
treea1d886ef46972fa41f601927f94bf7d9a6868fd6 /llvm/lib/Support
parent0ad1719d15ad12f4ff69fe096aee420779cdb65b (diff)
downloadbcm5719-llvm-094d061659990525485b4399d106c4b833d3c9b7.tar.gz
bcm5719-llvm-094d061659990525485b4399d106c4b833d3c9b7.zip
CMake: Add libm to list of system libs printed by llvm-config.
This is required by the interpreter library, and also matches the autoconf behavior. llvm-svn: 221147
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
index 32b96fa379d..24a115e0157 100644
--- a/llvm/lib/Support/CMakeLists.txt
+++ b/llvm/lib/Support/CMakeLists.txt
@@ -145,6 +145,7 @@ if( NOT MSVC )
if ( LLVM_ENABLE_ZLIB AND HAVE_LIBZ )
set(system_libs ${system_libs} z)
endif()
+ set(system_libs ${system_libs} m)
endif( MINGW )
endif( NOT MSVC )
OpenPOWER on IntegriCloud