summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-26 23:54:00 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-26 23:54:00 (GMT)
commitb1aac1fb0dd0817c7de0b5a097ac3795c84bbd29 (patch)
tree19193e4b98687036a04049584e1ceaf77b2dc7c7 /Source
parentb459ac2a1ed847214411e15422b2afc8f35d85b5 (diff)
downloadCMake-b1aac1fb0dd0817c7de0b5a097ac3795c84bbd29.zip
CMake-b1aac1fb0dd0817c7de0b5a097ac3795c84bbd29.tar.gz
CMake-b1aac1fb0dd0817c7de0b5a097ac3795c84bbd29.tar.bz2
ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since
CMAKE_SYSTEM_NAME may already have been set when crosscompiling Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index e2a75ac..75c946f 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -160,7 +160,7 @@ void cmGlobalGenerator::FindMakeProgram(cmMakefile* mf)
//
// CMakeSystem.cmake - configured file created by CMakeDetermineSystem.cmake
// CMakeDetermineSystem.cmake - figure out os info and create
-// CMakeSystem.cmake IF CMAKE_SYSTEM_NAME
+// CMakeSystem.cmake IF CMAKE_SYSTEM
// not set
// CMakeSystem.cmake - configured file created by
// CMakeDetermineSystem.cmake IF CMAKE_SYSTEM_LOADED
@@ -243,7 +243,7 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
}
// Load the CMakeDetermineSystem.cmake file and find out
// what platform we are running on
- if (!mf->GetDefinition("CMAKE_SYSTEM_NAME"))
+ if (!mf->GetDefinition("CMAKE_SYSTEM"))
{
#if defined(_WIN32) && !defined(__CYGWIN__)
/* Windows version number data. */