Avoid separating version parts with dots in DLL name
It looks better to not use dots here as a dot already separates the extension.
This commit is contained in:
parent
24e070fd15
commit
353a74fa96
|
@ -177,8 +177,11 @@ else ()
|
||||||
AND NOT META_IS_PLUGIN
|
AND NOT META_IS_PLUGIN
|
||||||
AND MINGW
|
AND MINGW
|
||||||
AND VERSIONED_MINGW_LIBRARIES)
|
AND VERSIONED_MINGW_LIBRARIES)
|
||||||
set_target_properties(${META_TARGET_NAME} PROPERTIES SUFFIX "-${META_SOVERSION}.dll")
|
if (NOT META_DLLVERSION)
|
||||||
set(TARGET_SUFFIX_FOR_PC "-${META_SOVERSION}")
|
string(REPLACE "." "-" META_DLLVERSION "${META_SOVERSION}")
|
||||||
|
endif ()
|
||||||
|
set_target_properties(${META_TARGET_NAME} PROPERTIES SUFFIX "-${META_DLLVERSION}.dll")
|
||||||
|
set(TARGET_SUFFIX_FOR_PC "-${META_DLLVERSION}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# avoid duplicating the "lib" prefix if the target name already starts with "lib"
|
# avoid duplicating the "lib" prefix if the target name already starts with "lib"
|
||||||
|
|
Loading…
Reference in New Issue