diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-08-29 00:37:51 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-08-29 00:37:51 +0000 |
commit | 3bf02f03cde267c5ec063b9394449a54aa9b3dba (patch) | |
tree | 266961c0128bbaf0d1dd64d95e78ef4c6552d2db /llvm | |
parent | 87abb0ee347e125abe85b257864e32abd6690e0b (diff) | |
download | bcm5719-llvm-3bf02f03cde267c5ec063b9394449a54aa9b3dba.tar.gz bcm5719-llvm-3bf02f03cde267c5ec063b9394449a54aa9b3dba.zip |
libprofile: [CMake] Let libprofile_rt be not loadable_module but shared library. Autoconf's one does so.
llvm-svn: 162812
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/runtime/libprofile/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/CMakeLists.txt b/llvm/runtime/libprofile/CMakeLists.txt index 414ad00b4a8..8609715b33f 100644 --- a/llvm/runtime/libprofile/CMakeLists.txt +++ b/llvm/runtime/libprofile/CMakeLists.txt @@ -13,7 +13,8 @@ set_target_properties( profile_rt-static 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" ) |