commit | e1967a742e1fcbb5fb525f87b8501e8f6e3ef878 | [log] [tgz] |
---|---|---|
author | Oscar Fuentes <ofv@wanadoo.es> | Fri Sep 03 02:22:23 2010 +0000 |
committer | Oscar Fuentes <ofv@wanadoo.es> | Fri Sep 03 02:22:23 2010 +0000 |
tree | be41f8d118550944564441e7009bbf3efad384a3 | |
parent | 95f1e2d6b52d55773bca16a5d3b7b283344dc47d [diff] |
Fix cmake build without native target selected. The cmake (+ MSVC) build is broken if you don't select your native target. e.g. 'cmake -D LLVM_TARGETS_TO_BUILD="MyNonNativeTarget" .' This is because cmake currently sets the LLVM_NATIVE_* definitions regardless of whether the native target is selected (causing build errors). Patch by Mike Gist! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112946 91177308-0d34-0410-b5e6-96231b3b80d8