projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c4cd2f
)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221147
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/Support/CMakeLists.txt
b/lib/Support/CMakeLists.txt
index 32b96fa379deb6dcf4139b2ec813af2e60c60c3b..24a115e0157f58c2f4367f05a71e49398c2177ac 100644
(file)
--- a/
lib/Support/CMakeLists.txt
+++ b/
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()
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 )
endif( MINGW )
endif( NOT MSVC )