Imported Upstream version 2.8.10.2
[platform/upstream/cmake.git] / Modules / CMakeTestJavaCompiler.cmake
1
2 #=============================================================================
3 # Copyright 2004-2009 Kitware, Inc.
4 #
5 # Distributed under the OSI-approved BSD License (the "License");
6 # see accompanying file Copyright.txt for details.
7 #
8 # This software is distributed WITHOUT ANY WARRANTY; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # See the License for more information.
11 #=============================================================================
12 # (To distribute this file outside of CMake, substitute the full
13 #  License text for the above reference.)
14
15 # This file is used by EnableLanguage in cmGlobalGenerator to
16 # determine that that selected Fortran compiler can actually compile
17 # and link the most basic of programs.   If not, a fatal error
18 # is set and cmake stops processing commands and will not generate
19 # any makefiles or projects.
20 set(CMAKE_Java_COMPILER_WORKS 1 CACHE INTERNAL "")