CMakeTestRCCompiler.cmake 1.0 KB

1234567891011121314151617181920212223
  1. #=============================================================================
  2. # Copyright 2004-2009 Kitware, Inc.
  3. #
  4. # Distributed under the OSI-approved BSD License (the "License");
  5. # see accompanying file Copyright.txt for details.
  6. #
  7. # This software is distributed WITHOUT ANY WARRANTY; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. # See the License for more information.
  10. #=============================================================================
  11. # (To distribute this file outside of CMake, substitute the full
  12. # License text for the above reference.)
  13. # This file is used by EnableLanguage in cmGlobalGenerator to
  14. # determine that that selected RC compiler can actually compile
  15. # and link the most basic of programs. If not, a fatal error
  16. # is set and cmake stops processing commands and will not generate
  17. # any makefiles or projects.
  18. # For now there is no way to do a try compile on just a .rc file
  19. # so just do nothing in here.
  20. set(CMAKE_RC_COMPILER_WORKS 1 CACHE INTERNAL "")