summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineRCCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-14 16:07:11 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-14 16:07:11 -0400
commit9d9582ffef2ab58f859a28d012cf89ee38c3a411 (patch)
tree519a0e38aef23a6d4c77897dde02d8d1273ad72f /Modules/CMakeDetermineRCCompiler.cmake
parentec9f2a18cc67d54c48dc8e88bc6edad23c611a34 (diff)
downloadcmake-9d9582ffef2ab58f859a28d012cf89ee38c3a411.tar.gz
ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME
Diffstat (limited to 'Modules/CMakeDetermineRCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineRCCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineRCCompiler.cmake b/Modules/CMakeDetermineRCCompiler.cmake
index 1bea04ae1a..3a3c4d96af 100644
--- a/Modules/CMakeDetermineRCCompiler.cmake
+++ b/Modules/CMakeDetermineRCCompiler.cmake
@@ -46,3 +46,4 @@ MARK_AS_ADVANCED(CMAKE_RC_COMPILER)
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeRCCompiler.cmake.in
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeRCCompiler.cmake IMMEDIATE)
SET(CMAKE_RC_COMPILER_ENV_VAR "RC")
+SET(ENABLE_LANGUAGE_RC_CALLED TRUE)