diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2014-11-03 10:38:26 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2014-11-03 10:38:26 +0000 |
commit | 094d061659990525485b4399d106c4b833d3c9b7 (patch) | |
tree | a1d886ef46972fa41f601927f94bf7d9a6868fd6 /llvm/lib/Support | |
parent | 0ad1719d15ad12f4ff69fe096aee420779cdb65b (diff) | |
download | bcm5719-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.txt | 1 |
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 ) |