summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-21 15:26:40 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-21 15:26:40 (GMT)
commit71359f5b9dcbf2404fab4e201961d2ddc7f52ee7 (patch)
tree352431a82c46d84b1ab5a99210f8d87d6fd95805 /Modules/CMakeDetermineCCompiler.cmake
parentc8dd1caff941ac4f56bf7422437fc0982ab6043b (diff)
downloadCMake-71359f5b9dcbf2404fab4e201961d2ddc7f52ee7.zip
CMake-71359f5b9dcbf2404fab4e201961d2ddc7f52ee7.tar.gz
CMake-71359f5b9dcbf2404fab4e201961d2ddc7f52ee7.tar.bz2
STYLE: use a separate source file for generating CMakeSystem.cmake if CMAKE_TOOLCHAIN_FILE is used
Alex
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index fd46bd6..b3c7c6c 100644
--- a/Modules/CMakeDetermineCCompiler.cmake
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -62,6 +62,9 @@ IF(NOT CMAKE_C_COMPILER)
ENDIF(CMAKE_C_COMPILER_INIT AND NOT CMAKE_C_COMPILER)
ELSE(NOT CMAKE_C_COMPILER)
+ # we only get here if CMAKE_C_COMPILER was specified using -D or a pre-made CMakeCache.txt
+ # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
+ #
# if a compiler was specified by the user but without path,
# now try to find it with the full path
# if it is found, force it into the cache,