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 | 20f09ac39afbce2b862dc7542affd91fe4a3a6f0 (patch) | |
tree | 0bc14a784867737aaa429a4db9457b6add7b1bac | |
parent | c3c237d8beefe332c6c589638acb6b5b29179387 (diff) |
libprofile: [CMake] Let libprofile_rt be not loadable_module but shared library. Autoconf's one does so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162812 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | runtime/libprofile/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/libprofile/CMakeLists.txt b/runtime/libprofile/CMakeLists.txt index 414ad00b4a..8609715b33 100644 --- a/runtime/libprofile/CMakeLists.txt +++ b/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" ) |