[Cmake-commits] [cmake-commits] hoffman committed Windows-cl.cmake 1.85 1.86

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jun 23 13:38:01 EDT 2008


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv2631

Modified Files:
	Windows-cl.cmake 
Log Message:
ENH: make rc optional


Index: Windows-cl.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Windows-cl.cmake,v
retrieving revision 1.85
retrieving revision 1.86
diff -C 2 -d -r1.85 -r1.86
*** Windows-cl.cmake	13 Mar 2008 20:42:31 -0000	1.85
--- Windows-cl.cmake	23 Jun 2008 17:37:58 -0000	1.86
***************
*** 30,34 ****
  
  # make sure to enable languages after setting configuration types
! ENABLE_LANGUAGE(RC)
  SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
  
--- 30,37 ----
  
  # make sure to enable languages after setting configuration types
! ENABLE_LANGUAGE(RC OPTIONAL)
! 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>")
  



More information about the Cmake-commits mailing list