summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-16 18:36:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-16 18:36:31 (GMT)
commit5c2084b74b28f6b0e5a243a972c34f6d770f842c (patch)
tree2f7e70c0b56553522c69b1a8de491fd13976dc97 /Modules
parente1178478b7fa89770c1aef31558d37f049afeafd (diff)
parent8e0da4cddc1d96012007e1e0215ffda841e03c6b (diff)
downloadCMake-5c2084b74b28f6b0e5a243a972c34f6d770f842c.zip
CMake-5c2084b74b28f6b0e5a243a972c34f6d770f842c.tar.gz
CMake-5c2084b74b28f6b0e5a243a972c34f6d770f842c.tar.bz2
Merge topic 'fix-comment-typos'
8e0da4c Fix some copyastos in the DetermineRCCompiler file.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineRCCompiler.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeDetermineRCCompiler.cmake b/Modules/CMakeDetermineRCCompiler.cmake
index fa78da0..c4600c7 100644
--- a/Modules/CMakeDetermineRCCompiler.cmake
+++ b/Modules/CMakeDetermineRCCompiler.cmake
@@ -12,14 +12,14 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
-# determine the compiler to use for C programs
-# NOTE, a generator may set CMAKE_C_COMPILER before
+# determine the compiler to use for RC programs
+# NOTE, a generator may set CMAKE_RC_COMPILER before
# loading this file to force a compiler.
-# use environment variable CCC first if defined by user, next use
-# the cmake variable CMAKE_GENERATOR_CC which can be defined by a generator
+# use environment variable RC first if defined by user, next use
+# the cmake variable CMAKE_GENERATOR_RC which can be defined by a generator
# as a default compiler
if(NOT CMAKE_RC_COMPILER)
- # prefer the environment variable CC
+ # prefer the environment variable RC
if($ENV{RC} MATCHES ".+")
get_filename_component(CMAKE_RC_COMPILER_INIT $ENV{RC} PROGRAM PROGRAM_ARGS CMAKE_RC_FLAGS_ENV_INIT)
if(CMAKE_RC_FLAGS_ENV_INIT)