summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.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/CMakeDetermineCXXCompiler.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/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index 05c095e..d4ddae4 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -48,5 +48,5 @@ ENDIF(NOT CMAKE_COMPILER_RETURN)
# configure all variables set in this file
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in
- ${PROJECT_BINARY_DIR}/CMakeCXXCompiler.cmake IMMEDIATE)
+ ${CMAKE_BINARY_DIR}/CMakeCXXCompiler.cmake IMMEDIATE)
MARK_AS_ADVANCED(CMAKE_CXX_COMPILER_FULLPATH)