Skip to content

Commit

Permalink
libprofile: [CMake] Let libprofile_rt be not loadable_module but shar…
Browse files Browse the repository at this point in the history
…ed library. Autoconf's one does so.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162812 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Aug 29, 2012
1 parent c3c237d commit 20f09ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/libprofile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

0 comments on commit 20f09ac

Please sign in to comment.