summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineJavaCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-12-17 19:54:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-12-17 19:54:25 (GMT)
commitbd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2 (patch)
treed88004c142250964ce50a697fa9bbb9ec09ee57a /Modules/CMakeDetermineJavaCompiler.cmake
parent5abc8c18c08f2057ef2b9962757bab10b751e740 (diff)
downloadCMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.zip
CMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.tar.gz
CMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.tar.bz2
ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages
Diffstat (limited to 'Modules/CMakeDetermineJavaCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineJavaCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineJavaCompiler.cmake b/Modules/CMakeDetermineJavaCompiler.cmake
index d1034aa..2e556e4 100644
--- a/Modules/CMakeDetermineJavaCompiler.cmake
+++ b/Modules/CMakeDetermineJavaCompiler.cmake
@@ -71,5 +71,5 @@ MARK_AS_ADVANCED(CMAKE_JAVA_COMPILER)
# configure variables set in this file for fast reload later on
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeJavaCompiler.cmake.in
- ${PROJECT_BINARY_DIR}/CMakeJavaCompiler.cmake IMMEDIATE @ONLY)
+ ${CMAKE_BINARY_DIR}/CMakeJavaCompiler.cmake IMMEDIATE @ONLY)
MARK_AS_ADVANCED(CMAKE_AR CMAKE_JAVA_COMPILER_FULLPATH)