mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[CMake] add_llvm_library: Specify explicit suffix .imp to import library to avoid a warning between profile_rt-static and profile_rt-shared with lib/profile_rt.lib.
FIXME: It seems MS version of profile_rt.dll doesn't contain any export symbols. llvm-svn: 188351
This commit is contained in:
parent
e2881219b4
commit
87d23bc39c
@ -12,6 +12,11 @@ macro(add_llvm_library name)
|
||||
|
||||
if( BUILD_SHARED_LIBS )
|
||||
llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
|
||||
if (MSVC)
|
||||
set_target_properties(${name}
|
||||
PROPERTIES
|
||||
IMPORT_SUFFIX ".imp")
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
# Ensure that the system libraries always comes last on the
|
||||
|
Loading…
x
Reference in New Issue
Block a user