forked from OSchip/llvm-project
libprofile: [CMake] Let libprofile_rt be not loadable_module but shared library. Autoconf's one does so.
llvm-svn: 162812
This commit is contained in:
parent
87abb0ee34
commit
3bf02f03cd
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue