diff options
| author | Patrick Gansterer <paroga@paroga.com> | 2013-08-04 17:55:30 +0200 |
|---|---|---|
| committer | Patrick Gansterer <paroga@paroga.com> | 2013-08-05 13:38:21 +0200 |
| commit | 60e568cf790705b3ed7a61d6768ba6220bfbabe8 (patch) | |
| tree | 36dd6551cabd8db3e484244d9e3e4c6edcd771c4 /Modules/CompilerId | |
| parent | dfbfe6f16629a9bb859b25eacbeeca56513e65df (diff) | |
| download | cmake-60e568cf790705b3ed7a61d6768ba6220bfbabe8.tar.gz | |
VS10: Do not set the TargetMachine when detecting the compiler
The Microsoft linker is intelligent enough to detect the target
machine type depending on the input files. This allows us to
get the target architecture from the compiler instead of
maintaining the mapping to the platform name.
Diffstat (limited to 'Modules/CompilerId')
| -rw-r--r-- | Modules/CompilerId/VS-10.vcxproj.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CompilerId/VS-10.vcxproj.in b/Modules/CompilerId/VS-10.vcxproj.in index ab4705fa38..55b5cdfae2 100644 --- a/Modules/CompilerId/VS-10.vcxproj.in +++ b/Modules/CompilerId/VS-10.vcxproj.in @@ -40,7 +40,6 @@ <Link> <GenerateDebugInformation>false</GenerateDebugInformation> <SubSystem>Console</SubSystem> - <TargetMachine>@id_machine_10@</TargetMachine> </Link> <PostBuildEvent> <Command>for %%i in (@id_cl@) do %40echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i</Command> |
