1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[CMake] llvm_add_library(SHARED|STATIC): Fix broken OUTPUT_NAME for *_static.

llvm-svn: 202454
This commit is contained in:
NAKAMURA Takumi 2014-02-28 00:28:13 +00:00
parent 883c64377d
commit 3b56287ef6

View File

@ -238,7 +238,7 @@ function(llvm_add_library name)
# static
set(name_static "${name}_static")
if(ARG_OUTPUT_NAME)
set(output_name OUTPUT_NAME "${ARG_OUTPUT_NAME}_static")
set(output_name OUTPUT_NAME "${ARG_OUTPUT_NAME}")
endif()
# DEPENDS has been appended to LLVM_COMMON_LIBS.
llvm_add_library(${name_static} STATIC