llvm.org GIT mirror llvm / e1bae5f
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188351 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1111
1212 if( BUILD_SHARED_LIBS )
1313 llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
14 if (MSVC)
15 set_target_properties(${name}
16 PROPERTIES
17 IMPORT_SUFFIX ".imp")
18 endif ()
1419 endif()
1520
1621 # Ensure that the system libraries always comes last on the