ENH: undo optional because we need it

This commit is contained in:
Bill Hoffman 2008-06-24 16:47:31 -04:00
parent 32d4be94a9
commit 6b12da90ea

View File

@ -30,9 +30,6 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 9")
# make sure to enable languages after setting configuration types
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 )
SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
# for nmake we need to compute some information about the compiler