[llvm] r221147 - CMake: Add libm to list of system libs printed by llvm-config.
Peter Collingbourne
peter at pcc.me.uk
Mon Nov 3 02:38:27 PST 2014
Author: pcc
Date: Mon Nov 3 04:38:26 2014
New Revision: 221147
URL: http://llvm.org/viewvc/llvm-project?rev=221147&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Support/CMakeLists.txt
Modified: llvm/trunk/lib/Support/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CMakeLists.txt?rev=221147&r1=221146&r2=221147&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CMakeLists.txt (original)
+++ llvm/trunk/lib/Support/CMakeLists.txt Mon Nov 3 04:38:26 2014
@@ -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 )
More information about the llvm-commits
mailing list