summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-14 21:51:43 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-14 21:51:43 (GMT)
commita0b0d23f0cc3f596135ace5d675bbb09911b7f02 (patch)
treedc5690cabf7333afa37adee7ad42fed71dea17fd /Source/cmCoreTryCompile.cxx
parentae3eff35b4814334f3a7e5f3240911aad0936c84 (diff)
downloadCMake-a0b0d23f0cc3f596135ace5d675bbb09911b7f02.zip
CMake-a0b0d23f0cc3f596135ace5d675bbb09911b7f02.tar.gz
CMake-a0b0d23f0cc3f596135ace5d675bbb09911b7f02.tar.bz2
CMAKE_DO_TRY_COMPILE is no longer used
Diffstat (limited to 'Source/cmCoreTryCompile.cxx')
-rw-r--r--Source/cmCoreTryCompile.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index b8a0c95..30356c8 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -245,10 +245,8 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
CMAKE_TRY_COMPILE_OSX_ARCHITECTURE first to i386 and then to ppc to
have the tests run for each specific architecture. Since
cmLocalGenerator doesn't allow building for "the other"
- architecture only via CMAKE_OSX_ARCHITECTURES,use to CMAKE_DO_TRY_COMPILE
- to enforce it for this case here.
+ architecture only via CMAKE_OSX_ARCHITECTURES.
*/
- cmakeFlags.push_back("-DCMAKE_DO_TRY_COMPILE=TRUE");
if(this->Makefile->GetDefinition("CMAKE_TRY_COMPILE_OSX_ARCHITECTURES")!=0)
{
std::string flag="-DCMAKE_OSX_ARCHITECTURES=";