diff --git a/Templates/UtilityHeader.dsptemplate b/Templates/UtilityHeader.dsptemplate index 5bea75a086..21f917fa5c 100644 --- a/Templates/UtilityHeader.dsptemplate +++ b/Templates/UtilityHeader.dsptemplate @@ -42,6 +42,8 @@ MTL=midl.exe # PROP Intermediate_Dir "Release" # PROP Target_Dir "" +CMAKE_CUSTOM_RULE_CODE + !ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Debug" # PROP BASE Use_MFC 0 @@ -55,6 +57,8 @@ MTL=midl.exe # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" +CMAKE_CUSTOM_RULE_CODE + !ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel" # PROP BASE Use_MFC 0 @@ -68,6 +72,8 @@ MTL=midl.exe # PROP Intermediate_Dir "MinSizeRel" # PROP Target_Dir "" +CMAKE_CUSTOM_RULE_CODE + !ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 RelWithDebInfo" # PROP BASE Use_MFC 0 @@ -81,6 +87,8 @@ MTL=midl.exe # PROP Intermediate_Dir "RelWithDebInfo" # PROP Target_Dir "" +CMAKE_CUSTOM_RULE_CODE + !ENDIF # Begin Target