projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad1719
)
CMake: Add libm to list of system libs printed by llvm-config.
author
Peter Collingbourne
<peter@pcc.me.uk>
Mon, 3 Nov 2014 10:38:26 +0000
(10:38 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Mon, 3 Nov 2014 10:38:26 +0000
(10:38 +0000)
This is required by the interpreter library, and also matches the autoconf
behavior.
llvm-svn: 221147
llvm/lib/Support/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/CMakeLists.txt
b/llvm/lib/Support/CMakeLists.txt
index
32b96fa
..
24a115e
100644
(file)
--- 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 )