summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-cl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Windows-cl.cmake')
-rw-r--r--Modules/Platform/Windows-cl.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index 8bfdcd7..f9e5e08 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -29,7 +29,7 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 9")
# make sure to enable languages after setting configuration types
-ENABLE_LANGUAGE(RC OPTIONAL)
+ENABLE_LANGUAGE(RC)
IF(NOT CMAKE_RC_COMPILER_WORKS )
MESSAGE(STATUS "Warning: RC not found, this build will not be able to compile resource files.")
ENDIF(NOT CMAKE_RC_COMPILER_WORKS )