mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
[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
This commit is contained in:
parent
36e1825e68
commit
d477e841dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user