mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Honor LLVM_BUILD_RUNTIME.
llvm-svn: 130199
This commit is contained in:
parent
7503d15062
commit
246a11f21c
@ -57,9 +57,13 @@ ${name} ignored.")
|
|||||||
LINK_FLAGS "-Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
|
LINK_FLAGS "-Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS ${name}
|
if( EXCLUDE_FROM_ALL )
|
||||||
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
set_target_properties(profile_rt PROPERTIES EXCLUDE_FROM_ALL ON)
|
||||||
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
|
else()
|
||||||
|
install(TARGETS ${name}
|
||||||
|
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||||
|
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
|
set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
|
||||||
|
@ -1 +1,5 @@
|
|||||||
|
if( NOT LLVM_BUILD_RUNTIME )
|
||||||
|
set(EXCLUDE_FROM_ALL ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(libprofile)
|
add_subdirectory(libprofile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user