mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
[CMake] Move the target property PREFIX from add_llvm_loadable_module() to llvm_add_library().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74c3f7dc5b
commit
069bd29ec4
@ -221,7 +221,10 @@ function(llvm_add_library name)
|
||||
endif()
|
||||
|
||||
if(ARG_MODULE)
|
||||
set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT})
|
||||
set_target_properties(${name} PROPERTIES
|
||||
PREFIX ""
|
||||
SUFFIX ${LLVM_PLUGIN_EXT}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ARG_SHARED)
|
||||
@ -285,7 +288,6 @@ ${name} ignored.")
|
||||
add_custom_target(${name})
|
||||
else()
|
||||
llvm_add_library(${name} MODULE ${ARGN})
|
||||
set_target_properties( ${name} PROPERTIES PREFIX "" )
|
||||
|
||||
if( EXCLUDE_FROM_ALL )
|
||||
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user