Avoid duplicating the "lib" prefix
if the target name already starts with "lib"
This commit is contained in:
parent
a26f3d7e1a
commit
0b267c7959
|
@ -169,6 +169,11 @@ else ()
|
|||
AND VERSIONED_MINGW_LIBRARIES)
|
||||
set_target_properties(${META_TARGET_NAME} PROPERTIES SUFFIX "-${META_SOVERSION}.dll")
|
||||
endif ()
|
||||
|
||||
# avoid duplicating the "lib" prefix if the target name already starts with "lib"
|
||||
if (META_TARGET_NAME MATCHES "lib.*")
|
||||
set_target_properties(${META_TARGET_NAME} PROPERTIES PREFIX "")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# populate META_PUBLIC_LIB_DEPENDS
|
||||
|
|
Loading…
Reference in New Issue