Fixed "-s" suffix missing for static libs in MinSizeRel configuration

This commit is contained in:
Laurent Gomila 2012-02-08 19:31:55 +01:00
parent 73b037b244
commit e3d75f6d6a

View File

@ -125,6 +125,7 @@ macro(sfml_add_library target)
else() else()
set_target_properties(${target} PROPERTIES DEBUG_POSTFIX -s-d) set_target_properties(${target} PROPERTIES DEBUG_POSTFIX -s-d)
set_target_properties(${target} PROPERTIES RELEASE_POSTFIX -s) set_target_properties(${target} PROPERTIES RELEASE_POSTFIX -s)
set_target_properties(${target} PROPERTIES MINSIZEREL_POSTFIX -s)
endif() endif()
# set the version and soversion of the target (for compatible systems -- mostly Linuxes) # set the version and soversion of the target (for compatible systems -- mostly Linuxes)