diff options
-rw-r--r-- | src/common.props | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.props b/src/common.props index 9411fe44f..e1c5e8287 100644 --- a/src/common.props +++ b/src/common.props @@ -82,15 +82,15 @@ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<StringPooling>true</StringPooling>
- <WholeProgramOptimization Condition="'$(UseLTCG)'=='true'">true</WholeProgramOptimization>
+ <WholeProgramOptimization Condition="'$(PlatformToolsetVersion)'=='110'">true</WholeProgramOptimization>
</ClCompile>
<Lib>
- <LinkTimeCodeGeneration Condition="'$(UseLTCG)'=='true'">true</LinkTimeCodeGeneration>
+ <LinkTimeCodeGeneration Condition="'$(PlatformToolsetVersion)'=='110'">true</LinkTimeCodeGeneration>
</Lib>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LargeAddressAware Condition="'$(Platform)'=='Win32'">true</LargeAddressAware>
- <LinkTimeCodeGeneration Condition="'$(UseLTCG)'=='true'">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+ <LinkTimeCodeGeneration Condition="'$(PlatformToolsetVersion)'=='110'">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<MergeSections>.rdata=.text</MergeSections>
<OptimizeReferences>true</OptimizeReferences>
<SetChecksum>true</SetChecksum>
|