llvm.org GIT mirror llvm / d477e84
[CMake] llvm_add_library(SHARED|STATIC): Fix broken OUTPUT_NAME for *_static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202454 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
237237 # static
238238 set(name_static "${name}_static")
239239 if(ARG_OUTPUT_NAME)
240 set(output_name OUTPUT_NAME "${ARG_OUTPUT_NAME}_static")
240 set(output_name OUTPUT_NAME "${ARG_OUTPUT_NAME}")
241241 endif()
242242 # DEPENDS has been appended to LLVM_COMMON_LIBS.
243243 llvm_add_library(${name_static} STATIC