summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeRCCompiler.cmake.in
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2014-06-06 13:47:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-06 14:11:15 (GMT)
commit514c2e3d9e3956b198dabc04cd4e0916750c5703 (patch)
tree0220f39c5d3b7891a860cfcb77deb5be96e40bf6 /Modules/CMakeRCCompiler.cmake.in
parent618b7df5bf7767561822c1673a9640860a2613a1 (diff)
downloadCMake-514c2e3d9e3956b198dabc04cd4e0916750c5703.zip
CMake-514c2e3d9e3956b198dabc04cd4e0916750c5703.tar.gz
CMake-514c2e3d9e3956b198dabc04cd4e0916750c5703.tar.bz2
CMakeRCCompiler: Handle uppercase 'RC' as resource file format extension
We already match lowercase 'rc'. Add 'RC' too. The latter is listed in other CMake<LANG>Compiler modules as ignored for their languages already. Signed-off-by: Tim Blechmann <tim@klingt.org>
Diffstat (limited to 'Modules/CMakeRCCompiler.cmake.in')
-rw-r--r--Modules/CMakeRCCompiler.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeRCCompiler.cmake.in b/Modules/CMakeRCCompiler.cmake.in
index 0fc3142..8257cd6 100644
--- a/Modules/CMakeRCCompiler.cmake.in
+++ b/Modules/CMakeRCCompiler.cmake.in
@@ -1,6 +1,6 @@
set(CMAKE_RC_COMPILER "@CMAKE_RC_COMPILER@")
set(CMAKE_RC_COMPILER_ARG1 "@CMAKE_RC_COMPILER_ARG1@")
set(CMAKE_RC_COMPILER_LOADED 1)
-set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc)
+set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
set(CMAKE_RC_OUTPUT_EXTENSION @CMAKE_RC_OUTPUT_EXTENSION@)
set(CMAKE_RC_COMPILER_ENV_VAR "RC")