summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeSystemSpecificInformation.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-10 13:07:39 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-10 13:07:39 (GMT)
commit512e0d40efbefefdd8296bbdb84be56597b072f2 (patch)
treeeac10b393b170b8edef12f80602598883a1de8db /Modules/CMakeSystemSpecificInformation.cmake
parentf9cb0f3cb44635ffaa70ae66eb5a615d90b1a861 (diff)
downloadCMake-512e0d40efbefefdd8296bbdb84be56597b072f2.zip
CMake-512e0d40efbefefdd8296bbdb84be56597b072f2.tar.gz
CMake-512e0d40efbefefdd8296bbdb84be56597b072f2.tar.bz2
ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so the platform modules can set them again for the target system Alex
Diffstat (limited to 'Modules/CMakeSystemSpecificInformation.cmake')
-rw-r--r--Modules/CMakeSystemSpecificInformation.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeSystemSpecificInformation.cmake b/Modules/CMakeSystemSpecificInformation.cmake
index c0af01a..561f5e3 100644
--- a/Modules/CMakeSystemSpecificInformation.cmake
+++ b/Modules/CMakeSystemSpecificInformation.cmake
@@ -3,11 +3,11 @@
# It is included after the compiler has been determined, so
# we know things like the compiler name and if the compiler is gnu.
-# before cmake 2.6 these variables were compiled-in in cmake
-# now they are set in the Modules/${CMAKE_SYSTEM_NAME}.cmake file
-# In order to keep custom language or compiler files working which might use
-# these variables, they are set to the value of the compiled-in variables in
-# CMakeDetermineSystem.cmake and reset here.
+# before cmake 2.6 these variables were set in cmMakefile.cxx. This is still
+# done to keep scripts and custom language and compiler modules working.
+# But they are reset here and set again in the platform files for the target
+# platform, so they can be used for testing the target platform instead
+# of testing the host platform.
SET(APPLE )
SET(UNIX )
SET(CYGWIN )