[llvm-commits] [llvm] r162812 - /llvm/trunk/runtime/libprofile/CMakeLists.txt
NAKAMURA Takumi
geek4civic at gmail.com
Tue Aug 28 17:37:51 PDT 2012
Author: chapuni
Date: Tue Aug 28 19:37:51 2012
New Revision: 162812
URL: http://llvm.org/viewvc/llvm-project?rev=162812&view=rev
Log:
libprofile: [CMake] Let libprofile_rt be not loadable_module but shared library. Autoconf's one does so.
Modified:
llvm/trunk/runtime/libprofile/CMakeLists.txt
Modified: llvm/trunk/runtime/libprofile/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/CMakeLists.txt?rev=162812&r1=162811&r2=162812&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/CMakeLists.txt (original)
+++ llvm/trunk/runtime/libprofile/CMakeLists.txt Tue Aug 28 19:37:51 2012
@@ -13,7 +13,8 @@
PROPERTIES
OUTPUT_NAME "profile_rt" )
-add_llvm_loadable_module( profile_rt-shared ${SOURCES} )
+set(BUILD_SHARED_LIBS ON)
+add_llvm_library( profile_rt-shared ${SOURCES} )
set_target_properties( profile_rt-shared
PROPERTIES
OUTPUT_NAME "profile_rt" )
More information about the llvm-commits
mailing list