See variable CMAKE_<CONFIG>_POSTFIX.
CMAKE_<CONFIG>_POSTFIX
This variable is a special case of the more-general CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.